Documentation
¶
Overview ¶
Package propertyfilesremoved contains the implementation for the filesRemoved property. All applications are strongly encouraged to use the interface instead of this concrete definition. The interfaces allow applications to consume only the types and properties needed and be independent of the go-fed implementation if another alternative implementation is created. This package is code-generated and subject to the same license as the go-fed tool used to generate it.
This package is independent of other types' and properties' implementations by having a Manager injected into it to act as a factory for the concrete implementations. The implementations have been generated into their own separate subpackages for each vocabulary.
Strongly consider using the interfaces instead of this package.
Index ¶
- func DeserializeFilesRemovedProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedFilesRemovedProperty, error)
- func SetManager(m privateManager)
- type ForgeFedFilesRemovedProperty
- func (this *ForgeFedFilesRemovedProperty) AppendIRI(v *url.URL)
- func (this *ForgeFedFilesRemovedProperty) AppendXMLSchemaString(v string)
- func (this ForgeFedFilesRemovedProperty) At(index int) vocab.ForgeFedFilesRemovedPropertyIterator
- func (this ForgeFedFilesRemovedProperty) Begin() vocab.ForgeFedFilesRemovedPropertyIterator
- func (this ForgeFedFilesRemovedProperty) Empty() bool
- func (this ForgeFedFilesRemovedProperty) End() vocab.ForgeFedFilesRemovedPropertyIterator
- func (this *ForgeFedFilesRemovedProperty) InsertIRI(idx int, v *url.URL)
- func (this *ForgeFedFilesRemovedProperty) InsertXMLSchemaString(idx int, v string)
- func (this ForgeFedFilesRemovedProperty) JSONLDContext() map[string]string
- func (this ForgeFedFilesRemovedProperty) KindIndex(idx int) int
- func (this ForgeFedFilesRemovedProperty) Len() (length int)
- func (this ForgeFedFilesRemovedProperty) Less(i, j int) bool
- func (this ForgeFedFilesRemovedProperty) LessThan(o vocab.ForgeFedFilesRemovedProperty) bool
- func (this ForgeFedFilesRemovedProperty) Name() string
- func (this *ForgeFedFilesRemovedProperty) PrependIRI(v *url.URL)
- func (this *ForgeFedFilesRemovedProperty) PrependXMLSchemaString(v string)
- func (this *ForgeFedFilesRemovedProperty) Remove(idx int)
- func (this ForgeFedFilesRemovedProperty) Serialize() (interface{}, error)
- func (this *ForgeFedFilesRemovedProperty) Set(idx int, v string)
- func (this *ForgeFedFilesRemovedProperty) SetIRI(idx int, v *url.URL)
- func (this ForgeFedFilesRemovedProperty) Swap(i, j int)
- type ForgeFedFilesRemovedPropertyIterator
- func (this ForgeFedFilesRemovedPropertyIterator) Get() string
- func (this ForgeFedFilesRemovedPropertyIterator) GetIRI() *url.URL
- func (this ForgeFedFilesRemovedPropertyIterator) HasAny() bool
- func (this ForgeFedFilesRemovedPropertyIterator) IsIRI() bool
- func (this ForgeFedFilesRemovedPropertyIterator) IsXMLSchemaString() bool
- func (this ForgeFedFilesRemovedPropertyIterator) JSONLDContext() map[string]string
- func (this ForgeFedFilesRemovedPropertyIterator) KindIndex() int
- func (this ForgeFedFilesRemovedPropertyIterator) LessThan(o vocab.ForgeFedFilesRemovedPropertyIterator) bool
- func (this ForgeFedFilesRemovedPropertyIterator) Name() string
- func (this ForgeFedFilesRemovedPropertyIterator) Next() vocab.ForgeFedFilesRemovedPropertyIterator
- func (this ForgeFedFilesRemovedPropertyIterator) Prev() vocab.ForgeFedFilesRemovedPropertyIterator
- func (this *ForgeFedFilesRemovedPropertyIterator) Set(v string)
- func (this *ForgeFedFilesRemovedPropertyIterator) SetIRI(v *url.URL)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeserializeFilesRemovedProperty ¶
func DeserializeFilesRemovedProperty(m map[string]interface{}, aliasMap map[string]string) (vocab.ForgeFedFilesRemovedProperty, error)
DeserializeFilesRemovedProperty creates a "filesRemoved" property from an interface representation that has been unmarshalled from a text or binary format.
func SetManager ¶
func SetManager(m privateManager)
SetManager sets the manager package-global variable. For internal use only, do not use as part of Application behavior. Must be called at golang init time.
Types ¶
type ForgeFedFilesRemovedProperty ¶
type ForgeFedFilesRemovedProperty struct {
// contains filtered or unexported fields
}
ForgeFedFilesRemovedProperty is the non-functional property "filesRemoved". It is permitted to have one or more values, and of different value types.
func NewForgeFedFilesRemovedProperty ¶
func NewForgeFedFilesRemovedProperty() *ForgeFedFilesRemovedProperty
NewForgeFedFilesRemovedProperty creates a new filesRemoved property.
func (*ForgeFedFilesRemovedProperty) AppendIRI ¶
func (this *ForgeFedFilesRemovedProperty) AppendIRI(v *url.URL)
AppendIRI appends an IRI value to the back of a list of the property "filesRemoved"
func (*ForgeFedFilesRemovedProperty) AppendXMLSchemaString ¶
func (this *ForgeFedFilesRemovedProperty) AppendXMLSchemaString(v string)
AppendXMLSchemaString appends a string value to the back of a list of the property "filesRemoved". Invalidates iterators that are traversing using Prev.
func (ForgeFedFilesRemovedProperty) At ¶
func (this ForgeFedFilesRemovedProperty) At(index int) vocab.ForgeFedFilesRemovedPropertyIterator
At returns the property value for the specified index. Panics if the index is out of bounds.
func (ForgeFedFilesRemovedProperty) Begin ¶
func (this ForgeFedFilesRemovedProperty) Begin() vocab.ForgeFedFilesRemovedPropertyIterator
Begin returns the first iterator, or nil if empty. Can be used with the iterator's Next method and this property's End method to iterate from front to back through all values.
func (ForgeFedFilesRemovedProperty) Empty ¶
func (this ForgeFedFilesRemovedProperty) Empty() bool
Empty returns returns true if there are no elements.
func (ForgeFedFilesRemovedProperty) End ¶
func (this ForgeFedFilesRemovedProperty) End() vocab.ForgeFedFilesRemovedPropertyIterator
End returns beyond-the-last iterator, which is nil. Can be used with the iterator's Next method and this property's Begin method to iterate from front to back through all values.
func (*ForgeFedFilesRemovedProperty) InsertIRI ¶
func (this *ForgeFedFilesRemovedProperty) InsertIRI(idx int, v *url.URL)
Insert inserts an IRI value at the specified index for a property "filesRemoved". Existing elements at that index and higher are shifted back once. Invalidates all iterators.
func (*ForgeFedFilesRemovedProperty) InsertXMLSchemaString ¶
func (this *ForgeFedFilesRemovedProperty) InsertXMLSchemaString(idx int, v string)
InsertXMLSchemaString inserts a string value at the specified index for a property "filesRemoved". Existing elements at that index and higher are shifted back once. Invalidates all iterators.
func (ForgeFedFilesRemovedProperty) JSONLDContext ¶
func (this ForgeFedFilesRemovedProperty) JSONLDContext() map[string]string
JSONLDContext returns the JSONLD URIs required in the context string for this property and the specific values that are set. The value in the map is the alias used to import the property's value or values.
func (ForgeFedFilesRemovedProperty) KindIndex ¶
func (this ForgeFedFilesRemovedProperty) KindIndex(idx int) int
KindIndex computes an arbitrary value for indexing this kind of value. This is a leaky API method specifically needed only for alternate implementations for go-fed. Applications should not use this method. Panics if the index is out of bounds.
func (ForgeFedFilesRemovedProperty) Len ¶
func (this ForgeFedFilesRemovedProperty) Len() (length int)
Len returns the number of values that exist for the "filesRemoved" property.
func (ForgeFedFilesRemovedProperty) Less ¶
func (this ForgeFedFilesRemovedProperty) Less(i, j int) bool
Less computes whether another property is less than this one. Mixing types results in a consistent but arbitrary ordering
func (ForgeFedFilesRemovedProperty) LessThan ¶
func (this ForgeFedFilesRemovedProperty) LessThan(o vocab.ForgeFedFilesRemovedProperty) bool
LessThan compares two instances of this property with an arbitrary but stable comparison. Applications should not use this because it is only meant to help alternative implementations to go-fed to be able to normalize nonfunctional properties.
func (ForgeFedFilesRemovedProperty) Name ¶
func (this ForgeFedFilesRemovedProperty) Name() string
Name returns the name of this property ("filesRemoved") with any alias.
func (*ForgeFedFilesRemovedProperty) PrependIRI ¶
func (this *ForgeFedFilesRemovedProperty) PrependIRI(v *url.URL)
PrependIRI prepends an IRI value to the front of a list of the property "filesRemoved".
func (*ForgeFedFilesRemovedProperty) PrependXMLSchemaString ¶
func (this *ForgeFedFilesRemovedProperty) PrependXMLSchemaString(v string)
PrependXMLSchemaString prepends a string value to the front of a list of the property "filesRemoved". Invalidates all iterators.
func (*ForgeFedFilesRemovedProperty) Remove ¶
func (this *ForgeFedFilesRemovedProperty) Remove(idx int)
Remove deletes an element at the specified index from a list of the property "filesRemoved", regardless of its type. Panics if the index is out of bounds. Invalidates all iterators.
func (ForgeFedFilesRemovedProperty) Serialize ¶
func (this ForgeFedFilesRemovedProperty) Serialize() (interface{}, error)
Serialize converts this into an interface representation suitable for marshalling into a text or binary format. Applications should not need this function as most typical use cases serialize types instead of individual properties. It is exposed for alternatives to go-fed implementations to use.
func (*ForgeFedFilesRemovedProperty) Set ¶
func (this *ForgeFedFilesRemovedProperty) Set(idx int, v string)
Set sets a string value to be at the specified index for the property "filesRemoved". Panics if the index is out of bounds. Invalidates all iterators.
func (*ForgeFedFilesRemovedProperty) SetIRI ¶
func (this *ForgeFedFilesRemovedProperty) SetIRI(idx int, v *url.URL)
SetIRI sets an IRI value to be at the specified index for the property "filesRemoved". Panics if the index is out of bounds.
func (ForgeFedFilesRemovedProperty) Swap ¶
func (this ForgeFedFilesRemovedProperty) Swap(i, j int)
Swap swaps the location of values at two indices for the "filesRemoved" property.
type ForgeFedFilesRemovedPropertyIterator ¶
type ForgeFedFilesRemovedPropertyIterator struct {
// contains filtered or unexported fields
}
ForgeFedFilesRemovedPropertyIterator is an iterator for a property. It is permitted to be a single default-valued value type.
func NewForgeFedFilesRemovedPropertyIterator ¶
func NewForgeFedFilesRemovedPropertyIterator() *ForgeFedFilesRemovedPropertyIterator
NewForgeFedFilesRemovedPropertyIterator creates a new ForgeFedFilesRemoved property.
func (ForgeFedFilesRemovedPropertyIterator) Get ¶
func (this ForgeFedFilesRemovedPropertyIterator) Get() string
Get returns the value of this property. When IsXMLSchemaString returns false, Get will return any arbitrary value.
func (ForgeFedFilesRemovedPropertyIterator) GetIRI ¶
func (this ForgeFedFilesRemovedPropertyIterator) GetIRI() *url.URL
GetIRI returns the IRI of this property. When IsIRI returns false, GetIRI will return any arbitrary value.
func (ForgeFedFilesRemovedPropertyIterator) HasAny ¶
func (this ForgeFedFilesRemovedPropertyIterator) HasAny() bool
HasAny returns true if the value or IRI is set.
func (ForgeFedFilesRemovedPropertyIterator) IsIRI ¶
func (this ForgeFedFilesRemovedPropertyIterator) IsIRI() bool
IsIRI returns true if this property is an IRI.
func (ForgeFedFilesRemovedPropertyIterator) IsXMLSchemaString ¶
func (this ForgeFedFilesRemovedPropertyIterator) IsXMLSchemaString() bool
IsXMLSchemaString returns true if this property is set and not an IRI.
func (ForgeFedFilesRemovedPropertyIterator) JSONLDContext ¶
func (this ForgeFedFilesRemovedPropertyIterator) JSONLDContext() map[string]string
JSONLDContext returns the JSONLD URIs required in the context string for this property and the specific values that are set. The value in the map is the alias used to import the property's value or values.
func (ForgeFedFilesRemovedPropertyIterator) KindIndex ¶
func (this ForgeFedFilesRemovedPropertyIterator) KindIndex() int
KindIndex computes an arbitrary value for indexing this kind of value. This is a leaky API detail only for folks looking to replace the go-fed implementation. Applications should not use this method.
func (ForgeFedFilesRemovedPropertyIterator) LessThan ¶
func (this ForgeFedFilesRemovedPropertyIterator) LessThan(o vocab.ForgeFedFilesRemovedPropertyIterator) bool
LessThan compares two instances of this property with an arbitrary but stable comparison. Applications should not use this because it is only meant to help alternative implementations to go-fed to be able to normalize nonfunctional properties.
func (ForgeFedFilesRemovedPropertyIterator) Name ¶
func (this ForgeFedFilesRemovedPropertyIterator) Name() string
Name returns the name of this property: "ForgeFedFilesRemoved".
func (ForgeFedFilesRemovedPropertyIterator) Next ¶
func (this ForgeFedFilesRemovedPropertyIterator) Next() vocab.ForgeFedFilesRemovedPropertyIterator
Next returns the next iterator, or nil if there is no next iterator.
func (ForgeFedFilesRemovedPropertyIterator) Prev ¶
func (this ForgeFedFilesRemovedPropertyIterator) Prev() vocab.ForgeFedFilesRemovedPropertyIterator
Prev returns the previous iterator, or nil if there is no previous iterator.
func (*ForgeFedFilesRemovedPropertyIterator) Set ¶
func (this *ForgeFedFilesRemovedPropertyIterator) Set(v string)
Set sets the value of this property. Calling IsXMLSchemaString afterwards will return true.
func (*ForgeFedFilesRemovedPropertyIterator) SetIRI ¶
func (this *ForgeFedFilesRemovedPropertyIterator) SetIRI(v *url.URL)
SetIRI sets the value of this property. Calling IsIRI afterwards will return true.