func (this ForgeFedDependedByPropertyIterator) Name() string {
	if len(this.alias) > 0 {
		return this.alias + ":" + "ForgeFedDependedBy"
	} else {
		return "ForgeFedDependedBy"
	}
}
Name returns the name of this property: "ForgeFedDependedBy".
package propertydependedby
import (
	"fmt"
	vocab "github.com/go-fed/activity/streams/vocab"
	"net/url"
)
type ForgeFedDependedByPropertyIterator struct {
	forgefedTicketMember vocab.ForgeFedTicket
	unknown              interface{}
	iri                  *url.URL
	alias                string
	myIdx                int
	parent               vocab.ForgeFedDependedByProperty
}
func NewForgeFedDependedByPropertyIterator() *ForgeFedDependedByPropertyIterator {
	return &ForgeFedDependedByPropertyIterator{alias: ""}
}
func deserializeForgeFedDependedByPropertyIterator(i interface{}, aliasMap map[string]string) (*ForgeFedDependedByPropertyIterator, error) {
	alias := ""
	if a, ok := aliasMap["https://forgefed.peers.community/ns"]; ok {
		alias = a
	}
	if s, ok := i.(string); ok {
		u, err := url.Parse(s)
		if err == nil && len(u.Scheme) > 0 {
			this := &ForgeFedDependedByPropertyIterator{
				alias: alias,
				iri:   u,
			}
			return this, nil
		}
	}
	if m, ok := i.(map[string]interface{}); ok {
		if v, err := mgr.DeserializeTicketForgeFed()(m, aliasMap); err == nil {
			this := &ForgeFedDependedByPropertyIterator{
				alias:                alias,
				forgefedTicketMember: v,
			}
			return this, nil
		}
	}
	this := &ForgeFedDependedByPropertyIterator{
		alias:   alias,
		unknown: i,
	}
	return this, nil
}
func (this ForgeFedDependedByPropertyIterator) Get() vocab.ForgeFedTicket {
	return this.forgefedTicketMember
}
func (this ForgeFedDependedByPropertyIterator) GetIRI() *url.URL {
	return this.iri
}
func (this ForgeFedDependedByPropertyIterator) GetType() vocab.Type {
	if this.IsForgeFedTicket() {
		return this.Get()
	}
	return nil
}
func (this ForgeFedDependedByPropertyIterator) HasAny() bool {
	return this.IsForgeFedTicket() || this.iri != nil
}
func (this ForgeFedDependedByPropertyIterator) IsForgeFedTicket() bool {
	return this.forgefedTicketMember != nil
}
func (this ForgeFedDependedByPropertyIterator) IsIRI() bool {
	return this.iri != nil
}
func (this ForgeFedDependedByPropertyIterator) JSONLDContext() map[string]string {
	m := map[string]string{"https://forgefed.peers.community/ns": this.alias}
	var child map[string]string
	if this.IsForgeFedTicket() {
		child = this.Get().JSONLDContext()
	}
	for k, v := range child {
		m[k] = v
	}
	return m
}
func (this ForgeFedDependedByPropertyIterator) KindIndex() int {
	if this.IsForgeFedTicket() {
		return 0
	}
	if this.IsIRI() {
		return -2
	}
	return -1
}
func (this ForgeFedDependedByPropertyIterator) LessThan(o vocab.ForgeFedDependedByPropertyIterator) bool {
	if this.IsIRI() && o.IsIRI() {
		return this.iri.String() < o.GetIRI().String()
	} else if this.IsIRI() {
		return true
	} else if o.IsIRI() {
		return false
	}
	if !this.IsForgeFedTicket() && !o.IsForgeFedTicket() {
		return false
	} else if this.IsForgeFedTicket() && !o.IsForgeFedTicket() {
		return false
	} else if !this.IsForgeFedTicket() && o.IsForgeFedTicket() {
		return true
	} else {
		return this.Get().LessThan(o.Get())
	}
}