Class TimespanType
- 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
Java class for TimespanType complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="TimespanType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="operator" type="{http://xml.vidispine.com/schema/vidispine}OperatorType" maxOccurs="unbounded" minOccurs="0"/>
<element name="fields" type="{http://xml.vidispine.com/schema/vidispine}SearchFieldType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<SearchFieldType>protected Stringprotected List<OperatorType> -
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) Gets the value of the fields property.getName()Gets the value of the name property.Gets the value of the operator property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) booleanbooleanbooleanvoidSets the value of the name property.toString()voidvoidvisit(com.kscs.util.jaxb.PropertyVisitor _visitor_) withFields(SearchFieldType... values) Adds objects to the list of Fields using add methodwithFields(Collection<SearchFieldType> values) Adds objects to the list of Fields using addAll methodSets the value of the name property.withOperator(OperatorType... values) Adds objects to the list of Operator using add methodwithOperator(Collection<OperatorType> values) Adds objects to the list of Operator using addAll method
-
Field Details
-
operator
-
fields
-
name
-
-
Constructor Details
-
TimespanType
public TimespanType()
-
-
Method Details
-
getOperator
Gets the value of the operator 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 operator property.For example, to add a new item, do as follows:
getOperator().add(newItem);
Objects of the following type(s) are allowed in the list
OperatorType- Returns:
- The value of the operator property.
-
isSetOperator
public boolean isSetOperator() -
unsetOperator
public void unsetOperator() -
getFields
Gets the value of the fields 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 fields property.For example, to add a new item, do as follows:
getFields().add(newItem);
Objects of the following type(s) are allowed in the list
SearchFieldType- Returns:
- The value of the fields property.
-
isSetFields
public boolean isSetFields() -
unsetFields
public void unsetFields() -
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
isSetName
public boolean isSetName() -
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
-
withOperator
Adds objects to the list of Operator using add method- Parameters:
values- objects to add to the list Operator- Returns:
- The class instance
-
withOperator
Adds objects to the list of Operator using addAll method- Parameters:
values- objects to add to the list Operator- Returns:
- The class instance
-
withFields
Adds objects to the list of Fields using add method- Parameters:
values- objects to add to the list Fields- Returns:
- The class instance
-
withFields
Adds objects to the list of Fields using addAll method- Parameters:
values- objects to add to the list Fields- Returns:
- The class instance
-
withName
Sets the value of the name 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:
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
-