|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mycore.datamodel.metadata.MCRMetaDefault
org.mycore.datamodel.metadata.MCRMetaInstitutionName
public final class MCRMetaInstitutionName
This class implements all methods for handling with the MCRMetaInstitutionName part of a metadata object. The MCRMetaInstitutionName class represents a name of an institution or corporation.
| Field Summary |
|---|
| Fields inherited from class org.mycore.datamodel.metadata.MCRMetaDefault |
|---|
datapart, DEFAULT_DATAPART, DEFAULT_INHERITED, DEFAULT_LANG_LENGTH, DEFAULT_LANGUAGE, DEFAULT_STRING_LENGTH, DEFAULT_TYPE_LENGTH, inherited, lang, LOGGER, NL, subtag, type |
| Constructor Summary | |
|---|---|
MCRMetaInstitutionName()
This is the constructor. |
|
MCRMetaInstitutionName(String set_datapart,
String set_subtag,
String default_lang,
String set_type,
int set_inherted,
String set_fullname,
String set_nickname,
String set_property)
This is the constructor. |
|
| Method Summary | |
|---|---|
Object |
clone()
This method make a clone of this class. |
Element |
createXML()
This method creates a XML stream for all data in this class, defined by the MyCoRe XML MCRMetaInstitutionName definition for the given subtag. |
String |
getFullName()
This method get the name text element. |
String |
getNickname()
This method get the nickname text element. |
String |
getProperty()
This method get the property text element. |
boolean |
isValid()
This method checks the validation of the content of this class. |
void |
set(String set_fullname,
String set_nickname,
String set_property)
This methode set all name componets. |
void |
setFromDOM(Element element)
This method reads the XML input stream part from a DOM part for the metadata of the document. |
| Methods inherited from class org.mycore.datamodel.metadata.MCRMetaDefault |
|---|
debug, debugDefault, decrementInherited, getDataPart, getInherited, getInheritedToString, getLang, getSubTag, getType, incrementInherited, setDataPart, setInherited, setLang, setSubTag, setType |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MCRMetaInstitutionName()
public MCRMetaInstitutionName(String set_datapart,
String set_subtag,
String default_lang,
String set_type,
int set_inherted,
String set_fullname,
String set_nickname,
String set_property)
throws MCRException
set_datapart - the global part of the elements like 'metadata'
or 'service'set_subtag - the name of the subtagdefault_lang - the default languageset_type - the optional type stringset_inherted - a value >= 0set_fullname - the full nameset_nickname - the nicknameset_property - the property title
MCRException - if the parameter values are invalid| Method Detail |
|---|
public final void set(String set_fullname,
String set_nickname,
String set_property)
set_fullname - the full nameset_nickname - the nicknameset_property - the property titlepublic final String getFullName()
public final String getNickname()
public final String getProperty()
public final void setFromDOM(Element element)
setFromDOM in interface MCRMetaInterfacesetFromDOM in class MCRMetaDefaultelement - a relevant DOM element for the metadata
public final Element createXML()
throws MCRException
createXML in interface MCRMetaInterfacecreateXML in class MCRMetaDefaultMCRException - if the content of this class is not validpublic final boolean isValid()
isValid in interface MCRMetaInterfaceisValid in class MCRMetaDefaultpublic final Object clone()
clone in interface MCRMetaInterfaceclone in class MCRMetaDefault
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||