|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tridas.schema.TridasEntity
org.tridas.schema.TridasObject
public class TridasObject
An object is the item to be investigated. Examples include: violin; excavation site; painting on a wooden panel; water well; church; carving; ship; forest. An object could also be more specific, for example: mast of a ship; roof of a church. Depending on the object type various descriptions are made possible. An object can have one or more elements and can also refer to another (sub) object. For instance a single file may contain three objects: an archaeological site object, within which there is a building object, within which there is a beam object. The list of possible object types is extensible and is thus flexible enough to incorporate the diversity of data required by the dendro community. Only information that is essential for dendrochronological research is recorded here. Other related data may be provided in the form of a link to an external database such as a museum catalogue.
Java class for object element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="object"> <complexType> <complexContent> <extension base="{http://www.tridas.org/1.2.2}tridasEntity"> <sequence> <element ref="{http://www.tridas.org/1.2.2}type"/> <element ref="{http://www.tridas.org/1.2.2}description" minOccurs="0"/> <element name="linkSeries" type="{http://www.tridas.org/1.2.2}seriesLinksWithPreferred" minOccurs="0"/> <element ref="{http://www.tridas.org/1.2.2}file" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.tridas.org/1.2.2}creator" minOccurs="0"/> <element ref="{http://www.tridas.org/1.2.2}owner" minOccurs="0"/> <element ref="{http://www.tridas.org/1.2.2}coverage" minOccurs="0"/> <element ref="{http://www.tridas.org/1.2.2}location" minOccurs="0"/> <element ref="{http://www.tridas.org/1.2.2}genericField" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.tridas.org/1.2.2}object" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.tridas.org/1.2.2}element" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType> </element>
Field Summary | |
---|---|
protected TridasCoverage |
coverage
|
protected String |
creator
|
protected String |
description
|
protected List<TridasElement> |
elements
|
protected List<TridasFile> |
files
|
protected List<TridasGenericField> |
genericFields
|
protected SeriesLinksWithPreferred |
linkSeries
|
protected TridasLocation |
location
|
protected List<TridasObject> |
objects
|
protected String |
owner
|
protected ControlledVoc |
type
|
Fields inherited from class org.tridas.schema.TridasEntity |
---|
comments, createdTimestamp, identifier, lastModifiedTimestamp, title |
Constructor Summary | |
---|---|
TridasObject()
|
Method Summary | |
---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
|
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
|
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()
|
boolean |
equals(Object object)
|
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
|
TridasCoverage |
getCoverage()
Gets the value of the coverage property. |
String |
getCreator()
Gets the value of the creator property. |
String |
getDescription()
Gets the value of the description property. |
List<TridasElement> |
getElements()
Gets the value of the elements property. |
List<TridasFile> |
getFiles()
Gets the value of the files property. |
List<TridasGenericField> |
getGenericFields()
Gets the value of the genericFields property. |
SeriesLinksWithPreferred |
getLinkSeries()
Gets the value of the linkSeries property. |
TridasLocation |
getLocation()
Gets the value of the location property. |
List<TridasObject> |
getObjects()
Gets the value of the objects property. |
String |
getOwner()
Gets the value of the owner property. |
ControlledVoc |
getType()
Gets the value of the type property. |
int |
hashCode()
|
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
|
boolean |
isSetCoverage()
|
boolean |
isSetCreator()
|
boolean |
isSetDescription()
|
boolean |
isSetElements()
|
boolean |
isSetFiles()
|
boolean |
isSetGenericFields()
|
boolean |
isSetLinkSeries()
|
boolean |
isSetLocation()
|
boolean |
isSetObjects()
|
boolean |
isSetOwner()
|
boolean |
isSetType()
|
void |
setCoverage(TridasCoverage value)
Sets the value of the coverage property. |
void |
setCreator(String value)
Sets the value of the creator property. |
void |
setDescription(String value)
Sets the value of the description property. |
void |
setElements(List<TridasElement> elements)
Sets the value of the elements property. |
void |
setFiles(List<TridasFile> files)
Sets the value of the files property. |
void |
setGenericFields(List<TridasGenericField> genericFields)
Sets the value of the genericFields property. |
void |
setLinkSeries(SeriesLinksWithPreferred value)
Sets the value of the linkSeries property. |
void |
setLocation(TridasLocation value)
Sets the value of the location property. |
void |
setObjects(List<TridasObject> objects)
Sets the value of the objects property. |
void |
setOwner(String value)
Sets the value of the owner property. |
void |
setType(ControlledVoc value)
Sets the value of the type property. |
String |
toString()
|
void |
unsetElements()
|
void |
unsetFiles()
|
void |
unsetGenericFields()
|
void |
unsetObjects()
|
Methods inherited from class org.tridas.schema.TridasEntity |
---|
getComments, getCreatedTimestamp, getIdentifier, getLastModifiedTimestamp, getTitle, isSetComments, isSetCreatedTimestamp, isSetIdentifier, isSetLastModifiedTimestamp, isSetTitle, setComments, setCreatedTimestamp, setIdentifier, setLastModifiedTimestamp, setTitle |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.tridas.interfaces.ITridas |
---|
getComments, getCreatedTimestamp, getLastModifiedTimestamp, getTitle, isSetComments, isSetCreatedTimestamp, isSetIdentifier, isSetLastModifiedTimestamp, isSetTitle, setComments, setCreatedTimestamp, setIdentifier, setLastModifiedTimestamp, setTitle |
Methods inherited from interface org.tridas.interfaces.TridasIdentifiable |
---|
getIdentifier |
Field Detail |
---|
protected ControlledVoc type
protected String description
protected SeriesLinksWithPreferred linkSeries
protected List<TridasFile> files
protected String creator
protected String owner
protected TridasCoverage coverage
protected TridasLocation location
protected List<TridasGenericField> genericFields
protected List<TridasObject> objects
protected List<TridasElement> elements
Constructor Detail |
---|
public TridasObject()
Method Detail |
---|
public ControlledVoc getType()
ControlledVoc
public void setType(ControlledVoc value)
value
- allowed object is
ControlledVoc
public boolean isSetType()
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public boolean isSetDescription()
public SeriesLinksWithPreferred getLinkSeries()
SeriesLinksWithPreferred
public void setLinkSeries(SeriesLinksWithPreferred value)
value
- allowed object is
SeriesLinksWithPreferred
public boolean isSetLinkSeries()
public List<TridasFile> getFiles()
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 files property.
For example, to add a new item, do as follows:
getFiles().add(newItem);
Objects of the following type(s) are allowed in the list
TridasFile
public boolean isSetFiles()
public void unsetFiles()
public String getCreator()
String
public void setCreator(String value)
value
- allowed object is
String
public boolean isSetCreator()
public String getOwner()
String
public void setOwner(String value)
value
- allowed object is
String
public boolean isSetOwner()
public TridasCoverage getCoverage()
TridasCoverage
public void setCoverage(TridasCoverage value)
value
- allowed object is
TridasCoverage
public boolean isSetCoverage()
public TridasLocation getLocation()
TridasLocation
public void setLocation(TridasLocation value)
value
- allowed object is
TridasLocation
public boolean isSetLocation()
public List<TridasGenericField> getGenericFields()
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 genericFields property.
For example, to add a new item, do as follows:
getGenericFields().add(newItem);
Objects of the following type(s) are allowed in the list
TridasGenericField
getGenericFields
in interface ITridasGeneric
public boolean isSetGenericFields()
isSetGenericFields
in interface ITridasGeneric
public void unsetGenericFields()
unsetGenericFields
in interface ITridasGeneric
public List<TridasObject> getObjects()
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 objects property.
For example, to add a new item, do as follows:
getObjects().add(newItem);
Objects of the following type(s) are allowed in the list
TridasObject
public boolean isSetObjects()
public void unsetObjects()
public List<TridasElement> getElements()
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 elements property.
For example, to add a new item, do as follows:
getElements().add(newItem);
Objects of the following type(s) are allowed in the list
TridasElement
public boolean isSetElements()
public void unsetElements()
public String toString()
toString
in class TridasEntity
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append
in interface org.jvnet.jaxb2_commons.lang.ToString
append
in class TridasEntity
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields
in interface org.jvnet.jaxb2_commons.lang.ToString
appendFields
in class TridasEntity
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
equals
in class TridasEntity
public boolean equals(Object object)
equals
in class TridasEntity
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode
in interface org.jvnet.jaxb2_commons.lang.HashCode
hashCode
in class TridasEntity
public int hashCode()
hashCode
in class TridasEntity
public Object clone()
clone
in class TridasEntity
public Object copyTo(Object target)
copyTo
in interface org.jvnet.jaxb2_commons.lang.CopyTo
copyTo
in class TridasEntity
public 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.CopyTo
copyTo
in class TridasEntity
public Object createNewInstance()
createNewInstance
in interface org.jvnet.jaxb2_commons.lang.CopyTo
public void setFiles(List<TridasFile> files)
files
- allowed object is
TridasFile
public void setGenericFields(List<TridasGenericField> genericFields)
genericFields
- allowed object is
TridasGenericField
public void setObjects(List<TridasObject> objects)
objects
- allowed object is
TridasObject
public void setElements(List<TridasElement> elements)
elements
- allowed object is
TridasElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |