public class SearchResultEntryType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for SearchResultEntryType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SearchResultEntryType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<element name="item" type="{http://xml.vidispine.com/schema/vidispine}ItemType"/>
<element name="collection" type="{http://xml.vidispine.com/schema/vidispine}CollectionType"/>
<element name="shape" type="{http://xml.vidispine.com/schema/vidispine}ShapeType"/>
<element name="file" type="{http://xml.vidispine.com/schema/vidispine}FileType"/>
</choice>
<element name="timespan" type="{http://xml.vidispine.com/schema/vidispine}SearchResultEntryTimespanType" 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="type" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="parent_type" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="parent_id" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="base" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
base |
protected CollectionType |
collection |
protected String |
end |
protected FileType |
file |
protected String |
id |
protected ItemType |
item |
protected String |
parentId |
protected String |
parentType |
protected ShapeType |
shape |
protected String |
start |
protected List<SearchResultEntryTimespanType> |
timespan |
protected String |
type |
| Constructor and Description |
|---|
SearchResultEntryType() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
Object |
createNewInstance() |
String |
getBase()
Gets the value of the base property.
|
CollectionType |
getCollection()
Gets the value of the collection property.
|
String |
getEnd()
Gets the value of the end property.
|
FileType |
getFile()
Gets the value of the file property.
|
String |
getId()
Gets the value of the id property.
|
ItemType |
getItem()
Gets the value of the item property.
|
String |
getParentId()
Gets the value of the parentId property.
|
String |
getParentType()
Gets the value of the parentType property.
|
ShapeType |
getShape()
Gets the value of the shape property.
|
String |
getStart()
Gets the value of the start property.
|
List<SearchResultEntryTimespanType> |
getTimespan()
Gets the value of the timespan property.
|
String |
getType()
Gets the value of the type property.
|
boolean |
isSetBase() |
boolean |
isSetCollection() |
boolean |
isSetEnd() |
boolean |
isSetFile() |
boolean |
isSetId() |
boolean |
isSetItem() |
boolean |
isSetParentId() |
boolean |
isSetParentType() |
boolean |
isSetShape() |
boolean |
isSetStart() |
boolean |
isSetTimespan() |
boolean |
isSetType() |
void |
setBase(String value)
Sets the value of the base property.
|
void |
setCollection(CollectionType value)
Sets the value of the collection property.
|
void |
setEnd(String value)
Sets the value of the end property.
|
void |
setFile(FileType value)
Sets the value of the file property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setItem(ItemType value)
Sets the value of the item property.
|
void |
setParentId(String value)
Sets the value of the parentId property.
|
void |
setParentType(String value)
Sets the value of the parentType property.
|
void |
setShape(ShapeType value)
Sets the value of the shape property.
|
void |
setStart(String value)
Sets the value of the start property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
unsetTimespan() |
SearchResultEntryType |
withBase(String value) |
SearchResultEntryType |
withCollection(CollectionType value) |
SearchResultEntryType |
withEnd(String value) |
SearchResultEntryType |
withFile(FileType value) |
SearchResultEntryType |
withId(String value) |
SearchResultEntryType |
withItem(ItemType value) |
SearchResultEntryType |
withParentId(String value) |
SearchResultEntryType |
withParentType(String value) |
SearchResultEntryType |
withShape(ShapeType value) |
SearchResultEntryType |
withStart(String value) |
SearchResultEntryType |
withTimespan(Collection<SearchResultEntryTimespanType> values) |
SearchResultEntryType |
withTimespan(SearchResultEntryTimespanType... values) |
SearchResultEntryType |
withType(String value) |
protected ItemType item
protected CollectionType collection
protected ShapeType shape
protected FileType file
protected List<SearchResultEntryTimespanType> timespan
protected String start
protected String end
protected String type
protected String id
protected String parentType
protected String parentId
protected String base
public ItemType getItem()
ItemTypepublic void setItem(ItemType value)
value - allowed object is
ItemTypepublic boolean isSetItem()
public CollectionType getCollection()
CollectionTypepublic void setCollection(CollectionType value)
value - allowed object is
CollectionTypepublic boolean isSetCollection()
public ShapeType getShape()
ShapeTypepublic void setShape(ShapeType value)
value - allowed object is
ShapeTypepublic boolean isSetShape()
public FileType getFile()
FileTypepublic void setFile(FileType value)
value - allowed object is
FileTypepublic boolean isSetFile()
public List<SearchResultEntryTimespanType> getTimespan()
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 timespan property.
For example, to add a new item, do as follows:
getTimespan().add(newItem);
Objects of the following type(s) are allowed in the list
SearchResultEntryTimespanType
public boolean isSetTimespan()
public void unsetTimespan()
public String getStart()
Stringpublic void setStart(String value)
value - allowed object is
Stringpublic boolean isSetStart()
public void setEnd(String value)
value - allowed object is
Stringpublic boolean isSetEnd()
public String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic boolean isSetType()
public void setId(String value)
value - allowed object is
Stringpublic boolean isSetId()
public String getParentType()
Stringpublic void setParentType(String value)
value - allowed object is
Stringpublic boolean isSetParentType()
public String getParentId()
Stringpublic void setParentId(String value)
value - allowed object is
Stringpublic boolean isSetParentId()
public String getBase()
Stringpublic void setBase(String value)
value - allowed object is
Stringpublic boolean isSetBase()
public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTopublic SearchResultEntryType withItem(ItemType value)
public SearchResultEntryType withCollection(CollectionType value)
public SearchResultEntryType withShape(ShapeType value)
public SearchResultEntryType withFile(FileType value)
public SearchResultEntryType withTimespan(SearchResultEntryTimespanType... values)
public SearchResultEntryType withTimespan(Collection<SearchResultEntryTimespanType> values)
public SearchResultEntryType withStart(String value)
public SearchResultEntryType withEnd(String value)
public SearchResultEntryType withType(String value)
public SearchResultEntryType withId(String value)
public SearchResultEntryType withParentType(String value)
public SearchResultEntryType withParentId(String value)
public SearchResultEntryType withBase(String value)
Copyright © 2015. All rights reserved.