DLESE Tools
v1.6.0

org.dlese.dpc.repository
Class MetadataFormatInfo

java.lang.Object
  extended by org.dlese.dpc.repository.MetadataFormatInfo
All Implemented Interfaces:
Serializable

public class MetadataFormatInfo
extends Object
implements Serializable

Data structure that holds information about a metadata format.

Author:
John Weatherley
See Also:
Serialized Form

Constructor Summary
MetadataFormatInfo()
          Constructor for the MetadataFormatInfo object
MetadataFormatInfo(String metadataPrefix, String schema, String metadataNamespace)
          Constructor for the MetadataFormatInfo object
 
Method Summary
 boolean equals(Object o)
          Checks equality of two MetadataFormatInfo objects.
 String getMetadataNamespace()
          Gets the metadataNamespace attribute of the MetadataFormatInfo object
 String getMetadataPrefix()
          Gets the metadataPrefix attribute of the MetadataFormatInfo object
 String getSchema()
          Gets the schema attribute of the MetadataFormatInfo object
 void setMetadataNamespace(String val)
          Sets the metadataNamespace attribute of the MetadataFormatInfo object
 void setMetadataPrefix(String val)
          Sets the metadataPrefix attribute of the MetadataFormatInfo object
 void setSchema(String val)
          Sets the schema attribute of the MetadataFormatInfo object
 String toString()
          Provides a String representataion for this MetadataFormatInfo.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetadataFormatInfo

public MetadataFormatInfo()
Constructor for the MetadataFormatInfo object


MetadataFormatInfo

public MetadataFormatInfo(String metadataPrefix,
                          String schema,
                          String metadataNamespace)
Constructor for the MetadataFormatInfo object

Parameters:
metadataPrefix - The metadataPrefix.
schema - The schema.
metadataNamespace - The metadataNamespace.
Method Detail

getMetadataPrefix

public String getMetadataPrefix()
Gets the metadataPrefix attribute of the MetadataFormatInfo object

Returns:
The metadataPrefix value

setMetadataPrefix

public void setMetadataPrefix(String val)
Sets the metadataPrefix attribute of the MetadataFormatInfo object

Parameters:
val - The new metadataPrefix value

getMetadataNamespace

public String getMetadataNamespace()
Gets the metadataNamespace attribute of the MetadataFormatInfo object

Returns:
The metadataNamespace value

setMetadataNamespace

public void setMetadataNamespace(String val)
Sets the metadataNamespace attribute of the MetadataFormatInfo object

Parameters:
val - The new metadataNamespace value

getSchema

public String getSchema()
Gets the schema attribute of the MetadataFormatInfo object

Returns:
The schema value

setSchema

public void setSchema(String val)
Sets the schema attribute of the MetadataFormatInfo object

Parameters:
val - The new schema value

toString

public String 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 the equals(Object) method.

Overrides:
toString in class Object
Returns:
String describing all data in the SetInfo.

equals

public boolean equals(Object o)
Checks equality of two MetadataFormatInfo objects.

Overrides:
equals in class Object
Parameters:
o - The MetadataFormatInfo to compare to this.
Returns:
True iff the compared object is equal.

DLESE Tools
v1.6.0