|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfo.extensiblecatalog.nacm.model.Name
public class Name
Represents a single name in the model
Constructor Summary | |
---|---|
Name()
Creates a new, empty Name This constructor is only provided for JavaBeans compliance |
|
Name(java.lang.String original,
java.lang.String normalized)
Creates a new Name |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Long |
getId()
Gets the unique ID associated with this record |
java.lang.String |
getNormalizedForm()
Gets the normalized form of this name |
java.lang.String |
getOriginalForm()
Gets the original form of this name, exactly as entered |
int |
hashCode()
|
void |
setId(java.lang.Long id)
Sets the unique ID associated with this record |
void |
setNormalizedForm(java.lang.String normalizedForm)
Sets the normalized form of this name |
void |
setOriginalForm(java.lang.String originalForm)
Sets the original form of this name, exactly as entered |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Name()
public Name(java.lang.String original, java.lang.String normalized)
original
- the name, exactly as enterednormalized
- the normalized form of the nameMethod Detail |
---|
public java.lang.Long getId()
public void setId(java.lang.Long id)
id
- a unique IDpublic java.lang.String getNormalizedForm()
public void setNormalizedForm(java.lang.String normalizedForm)
normalizedForm
- the namepublic java.lang.String getOriginalForm()
public void setOriginalForm(java.lang.String originalForm)
originalForm
- the namepublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |