Class ComponentType
- java.lang.Object
-
- com.vidispine.generated.ComponentType
-
- All Implemented Interfaces:
Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.CopyTo2
,org.jvnet.jaxb2_commons.lang.Equals2
,org.jvnet.jaxb2_commons.lang.HashCode2
- Direct Known Subclasses:
BinaryComponentType
,ContainerComponentType
,DescriptorComponentType
,MediaComponentType
public class ComponentType 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 ComponentType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ComponentType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="file" type="{http://xml.vidispine.com/schema/vidispine}FileType" maxOccurs="unbounded" minOccurs="0"/> <element name="id" type="{http://xml.vidispine.com/schema/vidispine}SiteIdType" minOccurs="0"/> <element name="metadata" type="{http://xml.vidispine.com/schema/vidispine}KeyValuePairType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ComponentType.PropInfo
-
Constructor Summary
Constructors Constructor Description ComponentType()
-
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)
List<FileType>
getFile()
Gets the value of the file property.String
getId()
Gets the value of the id property.List<KeyValuePairType>
getMetadata()
Gets the value of the metadata property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
boolean
isSetFile()
boolean
isSetId()
boolean
isSetMetadata()
void
setId(String value)
Sets the value of the id property.void
unsetFile()
void
unsetMetadata()
ComponentType
visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
ComponentType
withFile(FileType... values)
ComponentType
withFile(Collection<FileType> values)
ComponentType
withId(String value)
ComponentType
withMetadata(KeyValuePairType... values)
ComponentType
withMetadata(Collection<KeyValuePairType> values)
-
-
-
Field Detail
-
id
protected String id
-
metadata
protected List<KeyValuePairType> metadata
-
-
Method Detail
-
getFile
public List<FileType> getFile()
Gets the value of the file 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 file property.For example, to add a new item, do as follows:
getFile().add(newItem);
Objects of the following type(s) are allowed in the list
FileType
-
isSetFile
public boolean isSetFile()
-
unsetFile
public void unsetFile()
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
isSetId
public boolean isSetId()
-
getMetadata
public List<KeyValuePairType> getMetadata()
Gets the value of the metadata 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 metadata property.For example, to add a new item, do as follows:
getMetadata().add(newItem);
Objects of the following type(s) are allowed in the list
KeyValuePairType
-
isSetMetadata
public boolean isSetMetadata()
-
unsetMetadata
public void unsetMetadata()
-
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
-
withFile
public ComponentType withFile(FileType... values)
-
withFile
public ComponentType withFile(Collection<FileType> values)
-
withId
public ComponentType withId(String value)
-
withMetadata
public ComponentType withMetadata(KeyValuePairType... values)
-
withMetadata
public ComponentType withMetadata(Collection<KeyValuePairType> 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 ComponentType 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
-
-