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.Serializable
A 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 aXmlTitle
object from aUntypedData
object.XmlTitle(java.lang.String value)
Constructor to create aXmlTitle
with the specified title.XmlTitle(java.lang.String value, TitleType titleType)
Constructor to create aXmlTitle
with the specified title and titleType.
-
Method Summary
Modifier and Type Method Description TitleType
getTitleType()
Returns the value of field 'titleType'.java.lang.String
getValue()
Returns the value of field 'value'.void
setTitleType(TitleType titleType)
Sets the value of field 'titleType'.void
setValue(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 aXmlTitle
with the specified title.- Parameters:
value
- the title to set.
-
XmlTitle
public XmlTitle(java.lang.String value, TitleType titleType)
Constructor to create aXmlTitle
with 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 aXmlTitle
object from aUntypedData
object.- 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'.
-
-