Class FacetType
- 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 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:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<FacetCountType>protected Stringprotected Stringprotected List<FacetRangeType> -
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) getCount()Gets the value of the count property.getField()Gets the value of the field property.getName()Gets the value of the name property.getRange()Gets the value of the range property.inthashCode()inthashCode(org.jvnet.jaxb.locator.ObjectLocator locator, org.jvnet.jaxb.lang.HashCodeStrategy strategy) booleanbooleanbooleanbooleanvoidSets the value of the field property.voidSets the value of the name property.toString()voidvoidvisit(com.kscs.util.jaxb.PropertyVisitor _visitor_) withCount(FacetCountType... values) Adds objects to the list of Count using add methodwithCount(Collection<FacetCountType> values) Adds objects to the list of Count using addAll methodSets the value of the field property.Sets the value of the name property.withRange(FacetRangeType... values) Adds objects to the list of Range using add methodwithRange(Collection<FacetRangeType> values) Adds objects to the list of Range using addAll method
-
Field Details
-
field
-
count
-
range
-
name
-
-
Constructor Details
-
FacetType
public FacetType()
-
-
Method Details
-
getField
Gets the value of the field property.- Returns:
- possible object is
String
-
setField
Sets the value of the field property.- Parameters:
value- allowed object isString
-
isSetField
public boolean isSetField() -
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- Returns:
- The value of the count property.
-
isSetCount
public boolean isSetCount() -
unsetCount
public void unsetCount() -
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- Returns:
- The value of the range property.
-
isSetRange
public boolean isSetRange() -
unsetRange
public void unsetRange() -
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
-
withField
Sets the value of the field property.- Parameters:
value- allowed object isString- Returns:
- The class instance
-
withCount
Adds objects to the list of Count using add method- Parameters:
values- objects to add to the list Count- Returns:
- The class instance
-
withCount
Adds objects to the list of Count using addAll method- Parameters:
values- objects to add to the list Count- Returns:
- The class instance
-
withRange
Adds objects to the list of Range using add method- Parameters:
values- objects to add to the list Range- Returns:
- The class instance
-
withRange
Adds objects to the list of Range using addAll method- Parameters:
values- objects to add to the list Range- 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
-