public class MetadataFieldConfig extends Object
| Constructor and Description |
|---|
MetadataFieldConfig()
An empty initialization of MetadataFieldConfig
|
MetadataFieldConfig(MetadatumDTO value)
Create a MetadataFieldConfig based on a given MetadatumDTO
This MetadatumDTO object contains the schema, element and qualifier needed to initialize the MetadataFieldConfig
|
MetadataFieldConfig(String full)
Create a MetadataFieldConfig using a single value.
|
MetadataFieldConfig(String schema,
String element)
Create a MetadataFieldConfig using a schema and element
qualifier will be set to
null |
MetadataFieldConfig(String schema,
String element,
String qualifier)
Create a MetadataFieldConfig using a schema,element and qualifier
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Indicates whether some other object is "equal to" this one.
|
String |
getElement()
Return the qualifier set to this object.
|
String |
getField()
Return a string representing the field of this object
|
String |
getQualifier()
Return the qualifier set to this object.
|
String |
getSchema()
Return the schema set to this object.
|
int |
hashCode()
Returns a hash code value for the object.
|
void |
setElement(String element)
Set the element to this MetadataFieldConfig
|
void |
setQualifier(String qualifier)
Set the qualifier to this MetadataFieldConfig
|
void |
setSchema(String schema)
Set the schema to this MetadataFieldConfig
|
String |
toString()
Create the String representation of the MetadataFieldConfig
|
public MetadataFieldConfig(MetadatumDTO value)
value - public MetadataFieldConfig()
public MetadataFieldConfig(String schema, String element, String qualifier)
schema - The schema to set to this objectelement - The element to set to this objectqualifier - The qualifier to set to this objectpublic MetadataFieldConfig(String full)
full - A string representing the schema.element.qualifier tripletpublic boolean equals(Object o)
public String toString()
public int hashCode()
HashMap.public void setSchema(String schema)
schema - The schema to set to this objectpublic String getSchema()
null if nothing is setpublic String getField()
public String getElement()
null if nothing is setpublic void setElement(String element)
element - The element to set to this objectpublic String getQualifier()
null if nothing is setpublic void setQualifier(String qualifier)
qualifier - The qualifier to set to this objectCopyright © 2017 DuraSpace. All rights reserved.