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.Serializable
The 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 aXmlResourceType
with the specified resource.XmlResourceType(java.lang.String content, ResourceTypeGeneral resourceTypeGeneral)
Constructor to create aXmlCreator
with the specified resource and resourceType.
-
Method Summary
Modifier and Type Method Description java.lang.String
getContent()
Returns the value of field 'content'.ResourceTypeGeneral
getResourceTypeGeneral()
Returns the value of field 'resourceTypeGeneral'.void
setContent(java.lang.String content)
Sets the value of field 'content'.void
setResourceTypeGeneral(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 aXmlResourceType
with the specified resource.- Parameters:
content
- the resource to set.
-
XmlResourceType
public XmlResourceType(java.lang.String content, ResourceTypeGeneral resourceTypeGeneral)
Constructor to create aXmlCreator
with 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'.
-
-