org.tridas.schema
Class TridasObject

java.lang.Object
  extended by org.tridas.schema.TridasEntity
      extended by org.tridas.schema.TridasObject
All Implemented Interfaces:
Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString, ITridas, ITridasGeneric, TridasIdentifiable
Direct Known Subclasses:
TridasObjectEx

public class TridasObject
extends TridasEntity
implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString, ITridas, ITridasGeneric

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>
 

See Also:
Serialized Form

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

type

protected ControlledVoc type

description

protected String description

linkSeries

protected SeriesLinksWithPreferred linkSeries

files

protected List<TridasFile> files

creator

protected String creator

owner

protected String owner

coverage

protected TridasCoverage coverage

location

protected TridasLocation location

genericFields

protected List<TridasGenericField> genericFields

objects

protected List<TridasObject> objects

elements

protected List<TridasElement> elements
Constructor Detail

TridasObject

public TridasObject()
Method Detail

getType

public ControlledVoc getType()
Gets the value of the type property.

Returns:
possible object is ControlledVoc

setType

public void setType(ControlledVoc value)
Sets the value of the type property.

Parameters:
value - allowed object is ControlledVoc

isSetType

public boolean isSetType()

getDescription

public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

isSetDescription

public boolean isSetDescription()

getLinkSeries

public SeriesLinksWithPreferred getLinkSeries()
Gets the value of the linkSeries property.

Returns:
possible object is SeriesLinksWithPreferred

setLinkSeries

public void setLinkSeries(SeriesLinksWithPreferred value)
Sets the value of the linkSeries property.

Parameters:
value - allowed object is SeriesLinksWithPreferred

isSetLinkSeries

public boolean isSetLinkSeries()

getFiles

public List<TridasFile> getFiles()
Gets the value of the files 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 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


isSetFiles

public boolean isSetFiles()

unsetFiles

public void unsetFiles()

getCreator

public String getCreator()
Gets the value of the creator property.

Returns:
possible object is String

setCreator

public void setCreator(String value)
Sets the value of the creator property.

Parameters:
value - allowed object is String

isSetCreator

public boolean isSetCreator()

getOwner

public String getOwner()
Gets the value of the owner property.

Returns:
possible object is String

setOwner

public void setOwner(String value)
Sets the value of the owner property.

Parameters:
value - allowed object is String

isSetOwner

public boolean isSetOwner()

getCoverage

public TridasCoverage getCoverage()
Gets the value of the coverage property.

Returns:
possible object is TridasCoverage

setCoverage

public void setCoverage(TridasCoverage value)
Sets the value of the coverage property.

Parameters:
value - allowed object is TridasCoverage

isSetCoverage

public boolean isSetCoverage()

getLocation

public TridasLocation getLocation()
Gets the value of the location property.

Returns:
possible object is TridasLocation

setLocation

public void setLocation(TridasLocation value)
Sets the value of the location property.

Parameters:
value - allowed object is TridasLocation

isSetLocation

public boolean isSetLocation()

getGenericFields

public List<TridasGenericField> getGenericFields()
Gets the value of the genericFields 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 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

Specified by:
getGenericFields in interface ITridasGeneric

isSetGenericFields

public boolean isSetGenericFields()
Specified by:
isSetGenericFields in interface ITridasGeneric

unsetGenericFields

public void unsetGenericFields()
Specified by:
unsetGenericFields in interface ITridasGeneric

getObjects

public List<TridasObject> getObjects()
Gets the value of the objects 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 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


isSetObjects

public boolean isSetObjects()

unsetObjects

public void unsetObjects()

getElements

public List<TridasElement> getElements()
Gets the value of the elements 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 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


isSetElements

public boolean isSetElements()

unsetElements

public void unsetElements()

toString

public String toString()
Overrides:
toString in class TridasEntity

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
append in class TridasEntity

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString
Overrides:
appendFields in class TridasEntity

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.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals
Overrides:
equals in class TridasEntity

equals

public boolean equals(Object object)
Overrides:
equals in class TridasEntity

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
Overrides:
hashCode in class TridasEntity

hashCode

public int hashCode()
Overrides:
hashCode in class TridasEntity

clone

public Object clone()
Overrides:
clone in class TridasEntity

copyTo

public Object copyTo(Object target)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo
Overrides:
copyTo in class TridasEntity

copyTo

public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                     Object target,
                     org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo
Overrides:
copyTo in class TridasEntity

createNewInstance

public Object createNewInstance()
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo

setFiles

public void setFiles(List<TridasFile> files)
Sets the value of the files property.

Parameters:
files - allowed object is TridasFile

setGenericFields

public void setGenericFields(List<TridasGenericField> genericFields)
Sets the value of the genericFields property.

Parameters:
genericFields - allowed object is TridasGenericField

setObjects

public void setObjects(List<TridasObject> objects)
Sets the value of the objects property.

Parameters:
objects - allowed object is TridasObject

setElements

public void setElements(List<TridasElement> elements)
Sets the value of the elements property.

Parameters:
elements - allowed object is TridasElement


Copyright © 2011 TRiDaS. All Rights Reserved.