Package com.vidispine.generated
Class CollectionRelationType
java.lang.Object
com.vidispine.generated.CollectionRelationType
- All Implemented Interfaces:
Serializable,Cloneable,org.jvnet.jaxb.lang.CopyTo,org.jvnet.jaxb.lang.Equals,org.jvnet.jaxb.lang.HashCode,org.jvnet.jaxb.lang.ToString
public class CollectionRelationType
extends Object
implements Serializable, Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.ToString
Java class for CollectionRelationType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="CollectionRelationType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="direction">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="source" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="target" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
<attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="value" maxOccurs="unbounded" minOccurs="0">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</simpleContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex typestatic classstatic classJava class for anonymous complex type -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CollectionRelationType.Directionprotected Stringprotected List<CollectionRelationType.Value> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) clone()copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy) booleanbooleanequals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy) Gets the value of the direction property.getId()Gets the value of the id property.getValue()Gets the value of the value property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) booleanbooleanisSetId()booleanvoidSets the value of the direction property.voidSets the value of the id property.toString()voidvisit(com.kscs.util.jaxb.PropertyVisitor _visitor_) Sets the value of the direction property.Sets the value of the id property.withValue(CollectionRelationType.Value... values) Adds objects to the list of Value using add methodAdds objects to the list of Value using addAll method
-
Field Details
-
id
-
direction
-
value
-
-
Constructor Details
-
CollectionRelationType
public CollectionRelationType()
-
-
Method Details
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-
isSetId
public boolean isSetId() -
getDirection
Gets the value of the direction property.- Returns:
- possible object is
CollectionRelationType.Direction
-
setDirection
Sets the value of the direction property.- Parameters:
value- allowed object isCollectionRelationType.Direction
-
isSetDirection
public boolean isSetDirection() -
getValue
Gets the value of the value property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the value property.For example, to add a new item, do as follows:
getValue().add(newItem);
Objects of the following type(s) are allowed in the list
CollectionRelationType.Value- Returns:
- The value of the value property.
-
isSetValue
public boolean isSetValue() -
unsetValue
public void unsetValue() -
clone
-
copyTo
- Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
copyTo
public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy) - Specified by:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
createNewInstance
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.CopyTo
-
withId
Sets the value of the id property.- Parameters:
value- allowed object isString- Returns:
- The class instance
-
withDirection
Sets the value of the direction property.- Parameters:
value- allowed object isCollectionRelationType.Direction- Returns:
- The class instance
-
withValue
Adds objects to the list of Value using add method- Parameters:
values- objects to add to the list Value- Returns:
- The class instance
-
withValue
Adds objects to the list of Value using addAll method- Parameters:
values- objects to add to the list Value- Returns:
- The class instance
-
equals
public boolean equals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb.lang.Equals
-
equals
-
visit
-
hashCode
public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) - Specified by:
hashCodein interfaceorg.jvnet.jaxb.lang.HashCode
-
hashCode
public int hashCode() -
toString
-
append
public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString
-