Package com.vidispine.generated
Class ItemRelationType
java.lang.Object
com.vidispine.generated.ItemRelationType
- 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 ItemRelationType
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 ItemRelationType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="ItemRelationType">
<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 class
Java class for anonymous complex typestatic class
static class
Java class for anonymous complex type -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ItemRelationType.Direction
protected String
protected List<ItemRelationType.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) boolean
boolean
equals
(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.int
hashCode()
int
hashCode
(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) boolean
boolean
isSetId()
boolean
void
Sets the value of the direction property.void
Sets the value of the id property.toString()
void
visit
(com.kscs.util.jaxb.PropertyVisitor _visitor_) Sets the value of the direction property.Sets the value of the id property.withValue
(ItemRelationType.Value... values) Adds objects to the list of Value using add methodwithValue
(Collection<ItemRelationType.Value> values) Adds objects to the list of Value using addAll method
-
Field Details
-
id
-
direction
-
value
-
-
Constructor Details
-
ItemRelationType
public ItemRelationType()
-
-
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
ItemRelationType.Direction
-
setDirection
Sets the value of the direction property.- Parameters:
value
- allowed object isItemRelationType.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
set
method 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
ItemRelationType.Value
- Returns:
- The value of the value property.
-
isSetValue
public boolean isSetValue() -
unsetValue
public void unsetValue() -
clone
-
copyTo
- Specified by:
copyTo
in 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:
copyTo
in interfaceorg.jvnet.jaxb.lang.CopyTo
-
createNewInstance
- Specified by:
createNewInstance
in 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 isItemRelationType.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:
equals
in 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:
hashCode
in 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:
append
in 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:
appendFields
in interfaceorg.jvnet.jaxb.lang.ToString
-