Class FacetType
- java.lang.Object
-
- com.vidispine.generated.FacetType
-
- All Implemented Interfaces:
Serializable,Cloneable,org.jvnet.jaxb2_commons.lang.CopyTo2,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class FacetType 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 FacetType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FacetType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="field" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="count" type="{http://xml.vidispine.com/schema/vidispine}FacetCountType" maxOccurs="unbounded" minOccurs="0"/> <element name="range" type="{http://xml.vidispine.com/schema/vidispine}FacetRangeType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFacetType.PropInfo
-
Field Summary
Fields Modifier and Type Field Description protected List<FacetCountType>countprotected Stringfieldprotected Stringnameprotected List<FacetRangeType>range
-
Constructor Summary
Constructors Constructor Description FacetType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)ObjectcreateNewInstance()booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)List<FacetCountType>getCount()Gets the value of the count property.StringgetField()Gets the value of the field property.StringgetName()Gets the value of the name property.List<FacetRangeType>getRange()Gets the value of the range property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)booleanisSetCount()booleanisSetField()booleanisSetName()booleanisSetRange()voidsetField(String value)Sets the value of the field property.voidsetName(String value)Sets the value of the name property.voidunsetCount()voidunsetRange()FacetTypevisit(com.kscs.util.jaxb.PropertyVisitor _visitor_)FacetTypewithCount(FacetCountType... values)FacetTypewithCount(Collection<FacetCountType> values)FacetTypewithField(String value)FacetTypewithName(String value)FacetTypewithRange(FacetRangeType... values)FacetTypewithRange(Collection<FacetRangeType> values)
-
-
-
Field Detail
-
field
protected String field
-
count
protected List<FacetCountType> count
-
range
protected List<FacetRangeType> range
-
name
protected String name
-
-
Method Detail
-
getField
public String getField()
Gets the value of the field property.- Returns:
- possible object is
String
-
setField
public void setField(String value)
Sets the value of the field property.- Parameters:
value- allowed object isString
-
isSetField
public boolean isSetField()
-
getCount
public List<FacetCountType> getCount()
Gets the value of the count 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 count property.For example, to add a new item, do as follows:
getCount().add(newItem);Objects of the following type(s) are allowed in the list
FacetCountType
-
isSetCount
public boolean isSetCount()
-
unsetCount
public void unsetCount()
-
getRange
public List<FacetRangeType> getRange()
Gets the value of the range 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 range property.For example, to add a new item, do as follows:
getRange().add(newItem);Objects of the following type(s) are allowed in the list
FacetRangeType
-
isSetRange
public boolean isSetRange()
-
unsetRange
public void unsetRange()
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
isSetName
public boolean isSetName()
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin 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:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
withCount
public FacetType withCount(FacetCountType... values)
-
withCount
public FacetType withCount(Collection<FacetCountType> values)
-
withRange
public FacetType withRange(FacetRangeType... values)
-
withRange
public FacetType withRange(Collection<FacetRangeType> 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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
visit
public FacetType 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:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
-