Package org.dlese.dpc.repository
Class MetadataFormatInfo
java.lang.Object
org.dlese.dpc.repository.MetadataFormatInfo
- All Implemented Interfaces:
Serializable
Data structure that holds information about a metadata format.
- Author:
- John Weatherley
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor for the MetadataFormatInfo objectMetadataFormatInfo(String metadataPrefix, String schema, String metadataNamespace) Constructor for the MetadataFormatInfo object -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks equality of two MetadataFormatInfo objects.Gets the metadataNamespace attribute of the MetadataFormatInfo objectGets the metadataPrefix attribute of the MetadataFormatInfo objectGets the schema attribute of the MetadataFormatInfo objectvoidSets the metadataNamespace attribute of the MetadataFormatInfo objectvoidsetMetadataPrefix(String val) Sets the metadataPrefix attribute of the MetadataFormatInfo objectvoidSets the schema attribute of the MetadataFormatInfo objecttoString()Provides a String representataion for this MetadataFormatInfo.
-
Constructor Details
-
MetadataFormatInfo
public MetadataFormatInfo()Constructor for the MetadataFormatInfo object -
MetadataFormatInfo
Constructor for the MetadataFormatInfo object- Parameters:
metadataPrefix- The metadataPrefix.schema- The schema.metadataNamespace- The metadataNamespace.
-
-
Method Details
-
getMetadataPrefix
Gets the metadataPrefix attribute of the MetadataFormatInfo object- Returns:
- The metadataPrefix value
-
setMetadataPrefix
Sets the metadataPrefix attribute of the MetadataFormatInfo object- Parameters:
val- The new metadataPrefix value
-
getMetadataNamespace
Gets the metadataNamespace attribute of the MetadataFormatInfo object- Returns:
- The metadataNamespace value
-
setMetadataNamespace
Sets the metadataNamespace attribute of the MetadataFormatInfo object- Parameters:
val- The new metadataNamespace value
-
getSchema
Gets the schema attribute of the MetadataFormatInfo object- Returns:
- The schema value
-
setSchema
Sets the schema attribute of the MetadataFormatInfo object- Parameters:
val- The new schema value
-
toString
Provides a String representataion for this MetadataFormatInfo. This method may be used for debugging to see what is in the MetadataFormatInfo. This method is also used it theequals(Object)method. -
equals
Checks equality of two MetadataFormatInfo objects.
-