Class ComponentType
- 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
- Direct Known Subclasses:
BinaryComponentType,ContainerComponentType,DescriptorComponentType,MediaComponentType
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:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
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) booleanbooleanequals(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy) getFile()Gets the value of the file property.getId()Gets the value of the id property.Gets the value of the metadata property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) booleanbooleanisSetId()booleanvoidSets the value of the id property.toString()voidvoidvisit(com.kscs.util.jaxb.PropertyVisitor _visitor_) Adds objects to the list of File using add methodwithFile(Collection<FileType> values) Adds objects to the list of File using addAll methodSets the value of the id property.withMetadata(KeyValuePairType... values) Adds objects to the list of Metadata using add methodwithMetadata(Collection<KeyValuePairType> values) Adds objects to the list of Metadata using addAll method
-
Field Details
-
file
-
id
-
metadata
-
-
Constructor Details
-
ComponentType
public ComponentType()
-
-
Method Details
-
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
setmethod 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- Returns:
- The value of the file property.
-
isSetFile
public boolean isSetFile() -
unsetFile
public void unsetFile() -
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() -
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
setmethod 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- Returns:
- The value of the metadata property.
-
isSetMetadata
public boolean isSetMetadata() -
unsetMetadata
public void unsetMetadata() -
clone
-
copyTo
- Specified by:
copyToin 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:
copyToin interfaceorg.jvnet.jaxb.lang.CopyTo
-
createNewInstance
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.CopyTo
-
withFile
Adds objects to the list of File using add method- Parameters:
values- objects to add to the list File- Returns:
- The class instance
-
withFile
Adds objects to the list of File using addAll method- Parameters:
values- objects to add to the list File- Returns:
- The class instance
-
withId
Sets the value of the id property.- Parameters:
value- allowed object isString- Returns:
- The class instance
-
withMetadata
Adds objects to the list of Metadata using add method- Parameters:
values- objects to add to the list Metadata- Returns:
- The class instance
-
withMetadata
Adds objects to the list of Metadata using addAll method- Parameters:
values- objects to add to the list Metadata- 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:
equalsin 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:
hashCodein 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:
appendin 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:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString
-