Class XmlResourceType
- java.lang.Object
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.reference.datacite.xml.XmlResourceType
-
- All Implemented Interfaces:
java.io.Serializable
public class XmlResourceType extends java.lang.Object implements java.io.SerializableThe type of a resource. You may enter an additional free text description.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XmlResourceType()Default constructorXmlResourceType(java.lang.String content)Constructor to create aXmlResourceTypewith the specified resource.XmlResourceType(java.lang.String content, ResourceTypeGeneral resourceTypeGeneral)Constructor to create aXmlCreatorwith the specified resource and resourceType.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContent()Returns the value of field 'content'.ResourceTypeGeneralgetResourceTypeGeneral()Returns the value of field 'resourceTypeGeneral'.voidsetContent(java.lang.String content)Sets the value of field 'content'.voidsetResourceTypeGeneral(ResourceTypeGeneral resourceTypeGeneral)Sets the value of field 'resourceTypeGeneral'.
-
-
-
Constructor Detail
-
XmlResourceType
public XmlResourceType()
Default constructor
-
XmlResourceType
public XmlResourceType(java.lang.String content)
Constructor to create aXmlResourceTypewith the specified resource.- Parameters:
content- the resource to set.
-
XmlResourceType
public XmlResourceType(java.lang.String content, ResourceTypeGeneral resourceTypeGeneral)Constructor to create aXmlCreatorwith the specified resource and resourceType.- Parameters:
content- the resource to set.resourceTypeGeneral- the resourceType to set.
-
-
Method Detail
-
getContent
public java.lang.String getContent()
Returns the value of field 'content'. The field 'content' has the following description: internal content storage- Returns:
- the value of field 'content'.
-
getResourceTypeGeneral
public ResourceTypeGeneral getResourceTypeGeneral()
Returns the value of field 'resourceTypeGeneral'.- Returns:
- the value of field 'resourceTypeGeneral'.
-
setContent
public void setContent(java.lang.String content)
Sets the value of field 'content'. The field 'content' has the following description: internal content storage- Parameters:
content- the value of field 'content'.
-
setResourceTypeGeneral
public void setResourceTypeGeneral(ResourceTypeGeneral resourceTypeGeneral)
Sets the value of field 'resourceTypeGeneral'.- Parameters:
resourceTypeGeneral- the value of field 'resourceTypeGeneral'.
-
-