Class MetadataType.Timespan
- 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
- Enclosing class:
- MetadataType
Java class for anonymous complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="field" type="{http://xml.vidispine.com/schema/vidispine}MetadataFieldValueType" maxOccurs="unbounded" minOccurs="0"/>
<element name="group" type="{http://xml.vidispine.com/schema/vidispine}MetadataGroupValueType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="start" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="end" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="base" type="{http://www.w3.org/2001/XMLSchema}string" />
</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) boolean
boolean
equals
(org.jvnet.jaxb.locator.ObjectLocator thisLocator, org.jvnet.jaxb.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb.lang.EqualsStrategy strategy) getBase()
Gets the value of the base property.getEnd()
Gets the value of the end property.getField()
Gets the value of the field property.getGroup()
Gets the value of the group property.getStart()
Gets the value of the start property.int
hashCode()
int
hashCode
(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) boolean
boolean
isSetEnd()
boolean
boolean
boolean
void
Sets the value of the base property.void
Sets the value of the end property.void
Sets the value of the start property.toString()
void
void
visit
(com.kscs.util.jaxb.PropertyVisitor _visitor_) Sets the value of the base property.Sets the value of the end property.withField
(MetadataFieldValueType... values) Adds objects to the list of Field using add methodwithField
(Collection<MetadataFieldValueType> values) Adds objects to the list of Field using addAll methodwithGroup
(MetadataGroupValueType... values) Adds objects to the list of Group using add methodwithGroup
(Collection<MetadataGroupValueType> values) Adds objects to the list of Group using addAll methodSets the value of the start property.
-
Field Details
-
field
-
group
-
start
-
end
-
base
-
-
Constructor Details
-
Timespan
public Timespan()
-
-
Method Details
-
getField
Gets the value of the field 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 field property.For example, to add a new item, do as follows:
getField().add(newItem);
Objects of the following type(s) are allowed in the list
MetadataFieldValueType
- Returns:
- The value of the field property.
-
isSetField
public boolean isSetField() -
unsetField
public void unsetField() -
getGroup
Gets the value of the group 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 group property.For example, to add a new item, do as follows:
getGroup().add(newItem);
Objects of the following type(s) are allowed in the list
MetadataGroupValueType
- Returns:
- The value of the group property.
-
isSetGroup
public boolean isSetGroup() -
unsetGroup
public void unsetGroup() -
getStart
Gets the value of the start property.- Returns:
- possible object is
String
-
setStart
Sets the value of the start property.- Parameters:
value
- allowed object isString
-
isSetStart
public boolean isSetStart() -
getEnd
Gets the value of the end property.- Returns:
- possible object is
String
-
setEnd
Sets the value of the end property.- Parameters:
value
- allowed object isString
-
isSetEnd
public boolean isSetEnd() -
getBase
Gets the value of the base property.- Returns:
- possible object is
String
-
setBase
Sets the value of the base property.- Parameters:
value
- allowed object isString
-
isSetBase
public boolean isSetBase() -
clone
-
copyTo
- Specified by:
copyTo
in 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:
copyTo
in interfaceorg.jvnet.jaxb.lang.CopyTo
-
createNewInstance
- Specified by:
createNewInstance
in interfaceorg.jvnet.jaxb.lang.CopyTo
-
withField
Adds objects to the list of Field using add method- Parameters:
values
- objects to add to the list Field- Returns:
- The class instance
-
withField
Adds objects to the list of Field using addAll method- Parameters:
values
- objects to add to the list Field- Returns:
- The class instance
-
withGroup
Adds objects to the list of Group using add method- Parameters:
values
- objects to add to the list Group- Returns:
- The class instance
-
withGroup
Adds objects to the list of Group using addAll method- Parameters:
values
- objects to add to the list Group- Returns:
- The class instance
-
withStart
Sets the value of the start property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withEnd
Sets the value of the end property.- Parameters:
value
- allowed object isString
- Returns:
- The class instance
-
withBase
Sets the value of the base property.- Parameters:
value
- allowed object isString
- 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 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:
hashCode
in 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:
append
in 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:
appendFields
in interfaceorg.jvnet.jaxb.lang.ToString
-