Class XmlTitle
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.reference.datacite.xml.XmlTitle
-
- All Implemented Interfaces:
java.io.Serializable
public class XmlTitle extends java.lang.Object implements java.io.SerializableA name or title by which a resource is known.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XmlTitle()Default constructorXmlTitle(UntypedData data)Copy-Constructor to create aXmlTitleobject from aUntypedDataobject.XmlTitle(java.lang.String value)Constructor to create aXmlTitlewith the specified title.XmlTitle(java.lang.String value, TitleType titleType)Constructor to create aXmlTitlewith the specified title and titleType.
-
Method Summary
Modifier and Type Method Description TitleTypegetTitleType()Returns the value of field 'titleType'.java.lang.StringgetValue()Returns the value of field 'value'.voidsetTitleType(TitleType titleType)Sets the value of field 'titleType'.voidsetValue(java.lang.String value)Sets the value of field 'value'.
-
-
-
Constructor Detail
-
XmlTitle
public XmlTitle()
Default constructor
-
XmlTitle
public XmlTitle(java.lang.String value)
Constructor to create aXmlTitlewith the specified title.- Parameters:
value- the title to set.
-
XmlTitle
public XmlTitle(java.lang.String value, TitleType titleType)Constructor to create aXmlTitlewith the specified title and titleType.- Parameters:
value- the title to set.titleType- the titleType to set.
-
XmlTitle
public XmlTitle(UntypedData data)
Copy-Constructor to create aXmlTitleobject from aUntypedDataobject.- Parameters:
data- to convert into aXmlTitle.
-
-
Method Detail
-
getValue
public java.lang.String getValue()
Returns the value of field 'value'. The field 'value' has the following description: internal content storage- Returns:
- the value of field 'value'.
-
getTitleType
public TitleType getTitleType()
Returns the value of field 'titleType'.- Returns:
- the value of field 'titleType'.
-
setValue
public void setValue(java.lang.String value)
Sets the value of field 'value'. The field 'value' has the following description: internal content storage- Parameters:
value- the value of field 'value'.
-
setTitleType
public void setTitleType(TitleType titleType)
Sets the value of field 'titleType'.- Parameters:
titleType- the value of field 'titleType'.
-
-