Package com.vidispine.generated
Class ItemRelationType
- java.lang.Object
-
- com.vidispine.generated.ItemRelationType
-
- All Implemented Interfaces:
Serializable,Cloneable,org.jvnet.jaxb2_commons.lang.CopyTo2,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class ItemRelationType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2
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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classItemRelationType.DirectionJava class for anonymous complex type.static classItemRelationType.PropInfostatic classItemRelationType.ValueJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected ItemRelationType.Directiondirectionprotected Stringidprotected List<ItemRelationType.Value>value
-
Constructor Summary
Constructors Constructor Description ItemRelationType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)ItemRelationType.DirectiongetDirection()Gets the value of the direction property.StringgetId()Gets the value of the id property.List<ItemRelationType.Value>getValue()Gets the value of the value property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)booleanisSetDirection()booleanisSetId()booleanisSetValue()voidsetDirection(ItemRelationType.Direction value)Sets the value of the direction property.voidsetId(String value)Sets the value of the id property.voidunsetValue()ItemRelationTypevisit(com.kscs.util.jaxb.PropertyVisitor _visitor_)ItemRelationTypewithDirection(ItemRelationType.Direction value)ItemRelationTypewithId(String value)ItemRelationTypewithValue(ItemRelationType.Value... values)ItemRelationTypewithValue(Collection<ItemRelationType.Value> values)
-
-
-
Field Detail
-
id
protected String id
-
direction
protected ItemRelationType.Direction direction
-
value
protected List<ItemRelationType.Value> value
-
-
Method Detail
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
isSetId
public boolean isSetId()
-
getDirection
public ItemRelationType.Direction getDirection()
Gets the value of the direction property.- Returns:
- possible object is
ItemRelationType.Direction
-
setDirection
public void setDirection(ItemRelationType.Direction value)
Sets the value of the direction property.- Parameters:
value- allowed object isItemRelationType.Direction
-
isSetDirection
public boolean isSetDirection()
-
getValue
public List<ItemRelationType.Value> 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
ItemRelationType.Value
-
isSetValue
public boolean isSetValue()
-
unsetValue
public void unsetValue()
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
copyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
withId
public ItemRelationType withId(String value)
-
withDirection
public ItemRelationType withDirection(ItemRelationType.Direction value)
-
withValue
public ItemRelationType withValue(ItemRelationType.Value... values)
-
withValue
public ItemRelationType withValue(Collection<ItemRelationType.Value> values)
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
visit
public ItemRelationType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
-