public class WorkType extends Object implements Serializable
Java class for workType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="workType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="agent" type="{http://textgrid.info/namespaces/metadata/agent/2010}agentType" maxOccurs="unbounded" minOccurs="0"/> <element name="abstract" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="dateOfCreation" type="{http://textgrid.info/namespaces/metadata/core/2010}dateType"/> <element name="spatial" type="{http://textgrid.info/namespaces/metadata/core/2010}authorityType" maxOccurs="unbounded" minOccurs="0"/> <element name="temporal" type="{http://textgrid.info/namespaces/metadata/core/2010}authorityType" maxOccurs="unbounded" minOccurs="0"/> <element name="subject" type="{http://textgrid.info/namespaces/metadata/core/2010}authorityType" maxOccurs="unbounded" minOccurs="0"/> <element name="genre" maxOccurs="unbounded"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="drama"/> <enumeration value="prose"/> <enumeration value="verse"/> <enumeration value="reference work"/> <enumeration value="non-fiction"/> <enumeration value="non-text"/> <enumeration value="other"/> </restriction> </simpleType> </element> <element name="type" type="{http://www.w3.org/2001/XMLSchema}token" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<String> |
_abstract |
protected List<AgentType> |
agent |
protected DateType |
dateOfCreation |
protected List<String> |
genre |
protected List<AuthorityType> |
spatial |
protected List<AuthorityType> |
subject |
protected List<AuthorityType> |
temporal |
protected List<String> |
type |
Constructor and Description |
---|
WorkType() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAbstract()
Gets the value of the abstract property.
|
List<AgentType> |
getAgent()
Gets the value of the agent property.
|
DateType |
getDateOfCreation()
Gets the value of the dateOfCreation property.
|
List<String> |
getGenre()
Gets the value of the genre property.
|
List<AuthorityType> |
getSpatial()
Gets the value of the spatial property.
|
List<AuthorityType> |
getSubject()
Gets the value of the subject property.
|
List<AuthorityType> |
getTemporal()
Gets the value of the temporal property.
|
List<String> |
getType()
Gets the value of the type property.
|
void |
setDateOfCreation(DateType value)
Sets the value of the dateOfCreation property.
|
protected DateType dateOfCreation
protected List<AuthorityType> spatial
protected List<AuthorityType> temporal
protected List<AuthorityType> subject
public List<AgentType> getAgent()
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 agent property.
For example, to add a new item, do as follows:
getAgent().add(newItem);
Objects of the following type(s) are allowed in the list
AgentType
public List<String> getAbstract()
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 abstract property.
For example, to add a new item, do as follows:
getAbstract().add(newItem);
Objects of the following type(s) are allowed in the list
String
public DateType getDateOfCreation()
DateType
public void setDateOfCreation(DateType value)
value
- allowed object is
DateType
public List<AuthorityType> getSpatial()
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 spatial property.
For example, to add a new item, do as follows:
getSpatial().add(newItem);
Objects of the following type(s) are allowed in the list
AuthorityType
public List<AuthorityType> getTemporal()
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 temporal property.
For example, to add a new item, do as follows:
getTemporal().add(newItem);
Objects of the following type(s) are allowed in the list
AuthorityType
public List<AuthorityType> getSubject()
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 subject property.
For example, to add a new item, do as follows:
getSubject().add(newItem);
Objects of the following type(s) are allowed in the list
AuthorityType
public List<String> getGenre()
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 genre property.
For example, to add a new item, do as follows:
getGenre().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<String> getType()
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 type property.
For example, to add a new item, do as follows:
getType().add(newItem);
Objects of the following type(s) are allowed in the list
String
Copyright © 2013 TextGrid Consortium. All Rights Reserved.