Class MetadataFormat
- java.lang.Object
-
- org.gcube.common.metadataprofilediscovery.jaxb.MetadataFormat
-
- All Implemented Interfaces:
Serializable
public class MetadataFormat extends Object implements Serializable
The Class MetadataFormat.- Author:
- Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it Jun 8, 2016
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringLOCAL_NAME_METADATA_FORMATstatic StringLOCAL_NAME_METADATA_TYPE
-
Constructor Summary
Constructors Constructor Description MetadataFormat()Instantiates a new metadata format.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMetadata(MetadataField Field)Adds the metadata.List<MetadataField>getMetadataFields()Gets the metadata fields.StringgetMetadataSource()Gets the metadata source.StringgetType()Gets the type.voidsetMetadataSource(String metadataSource)Sets the metadata source.voidsetType(String type)Sets the type.StringtoString()
-
-
-
Field Detail
-
LOCAL_NAME_METADATA_TYPE
public static final String LOCAL_NAME_METADATA_TYPE
- See Also:
- Constant Field Values
-
LOCAL_NAME_METADATA_FORMAT
public static final String LOCAL_NAME_METADATA_FORMAT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMetadataFields
public List<MetadataField> getMetadataFields()
Gets the metadata fields.- Returns:
- the metadataFields
-
getType
public String getType()
Gets the type.- Returns:
- the type
-
setType
public void setType(String type)
Sets the type.- Parameters:
type- the type to set
-
addMetadata
public void addMetadata(MetadataField Field)
Adds the metadata.- Parameters:
Field- the field
-
getMetadataSource
public String getMetadataSource()
Gets the metadata source.- Returns:
- the metadata source
-
setMetadataSource
public void setMetadataSource(String metadataSource)
Sets the metadata source.- Parameters:
metadataSource- the new metadata source
-
-