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 class
ItemRelationType.Direction
Java class for anonymous complex type.static class
ItemRelationType.PropInfo
static class
ItemRelationType.Value
Java class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected ItemRelationType.Direction
direction
protected String
id
protected List<ItemRelationType.Value>
value
-
Constructor Summary
Constructors Constructor Description ItemRelationType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
Object
copyTo(Object target)
Object
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
Object
createNewInstance()
boolean
equals(Object object)
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)
ItemRelationType.Direction
getDirection()
Gets the value of the direction property.String
getId()
Gets the value of the id property.List<ItemRelationType.Value>
getValue()
Gets the value of the value property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
boolean
isSetDirection()
boolean
isSetId()
boolean
isSetValue()
void
setDirection(ItemRelationType.Direction value)
Sets the value of the direction property.void
setId(String value)
Sets the value of the id property.void
unsetValue()
ItemRelationType
visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
ItemRelationType
withDirection(ItemRelationType.Direction value)
ItemRelationType
withId(String value)
ItemRelationType
withValue(ItemRelationType.Value... values)
ItemRelationType
withValue(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
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
-
isSetValue
public boolean isSetValue()
-
unsetValue
public void unsetValue()
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyTo
in 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:
copyTo
in interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstance
in 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:
equals
in 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:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
-