public class ObjectType extends Object implements Serializable
Java class for object element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="object"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="generic" type="{http://textgrid.info/namespaces/metadata/core/2010}genericType"/> <choice> <element name="item" type="{http://textgrid.info/namespaces/metadata/core/2010}itemType"/> <element name="edition" type="{http://textgrid.info/namespaces/metadata/core/2010}editionType"/> <element name="work" type="{http://textgrid.info/namespaces/metadata/core/2010}workType"/> <element name="collection" type="{http://textgrid.info/namespaces/metadata/core/2010}collectionType"/> </choice> <element name="custom" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="relations" type="{http://textgrid.info/namespaces/metadata/core/2010}relationType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType> </element>
Modifier and Type | Class and Description |
---|---|
static class |
ObjectType.Custom
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected CollectionType |
collection |
protected ObjectType.Custom |
custom |
protected EditionType |
edition |
protected GenericType |
generic |
protected ItemType |
item |
protected RelationType |
relations |
protected WorkType |
work |
Constructor and Description |
---|
ObjectType() |
Modifier and Type | Method and Description |
---|---|
CollectionType |
getCollection()
Gets the value of the collection property.
|
ObjectType.Custom |
getCustom()
Gets the value of the custom property.
|
EditionType |
getEdition()
Gets the value of the edition property.
|
GenericType |
getGeneric()
Gets the value of the generic property.
|
ItemType |
getItem()
Gets the value of the item property.
|
RelationType |
getRelations()
Gets the value of the relations property.
|
WorkType |
getWork()
Gets the value of the work property.
|
void |
setCollection(CollectionType value)
Sets the value of the collection property.
|
void |
setCustom(ObjectType.Custom value)
Sets the value of the custom property.
|
void |
setEdition(EditionType value)
Sets the value of the edition property.
|
void |
setGeneric(GenericType value)
Sets the value of the generic property.
|
void |
setItem(ItemType value)
Sets the value of the item property.
|
void |
setRelations(RelationType value)
Sets the value of the relations property.
|
void |
setWork(WorkType value)
Sets the value of the work property.
|
protected GenericType generic
protected ItemType item
protected EditionType edition
protected WorkType work
protected CollectionType collection
protected ObjectType.Custom custom
protected RelationType relations
public GenericType getGeneric()
GenericType
public void setGeneric(GenericType value)
value
- allowed object is
GenericType
public ItemType getItem()
ItemType
public void setItem(ItemType value)
value
- allowed object is
ItemType
public EditionType getEdition()
EditionType
public void setEdition(EditionType value)
value
- allowed object is
EditionType
public WorkType getWork()
WorkType
public void setWork(WorkType value)
value
- allowed object is
WorkType
public CollectionType getCollection()
CollectionType
public void setCollection(CollectionType value)
value
- allowed object is
CollectionType
public ObjectType.Custom getCustom()
ObjectType.Custom
public void setCustom(ObjectType.Custom value)
value
- allowed object is
ObjectType.Custom
public RelationType getRelations()
RelationType
public void setRelations(RelationType value)
value
- allowed object is
RelationType
Copyright © 2013 TextGrid Consortium. All Rights Reserved.