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:
  • Field Details

  • Constructor Details

    • ItemRelationType

      public ItemRelationType()
  • Method Details

    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • 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 is ItemRelationType.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

      Returns:
      The value of the value property.
    • isSetValue

      public boolean isSetValue()
    • unsetValue

      public void unsetValue()
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • copyTo

      public Object copyTo(Object target)
      Specified by:
      copyTo in interface org.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 interface org.jvnet.jaxb.lang.CopyTo
    • createNewInstance

      public Object createNewInstance()
      Specified by:
      createNewInstance in interface org.jvnet.jaxb.lang.CopyTo
    • withId

      public ItemRelationType withId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withDirection

      public ItemRelationType withDirection(ItemRelationType.Direction value)
      Sets the value of the direction property.
      Parameters:
      value - allowed object is ItemRelationType.Direction
      Returns:
      The class instance
    • withValue

      public ItemRelationType withValue(ItemRelationType.Value... values)
      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 interface org.jvnet.jaxb.lang.Equals
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • visit

      public ItemRelationType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
    • hashCode

      public int hashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb.lang.HashCode
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • append

      public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      append in interface org.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 interface org.jvnet.jaxb.lang.ToString