public class OrgName extends AbstractExtension
Constructor and Description |
---|
OrgName()
Default mutable constructor.
|
OrgName(java.lang.String value)
Immutable constructor for backward compatibility.
|
OrgName(java.lang.String value,
java.lang.String yomi)
Immutable constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
|
java.lang.String |
getValue()
Returns the value.
|
java.lang.String |
getYomi()
Returns the yomi name of organization.
|
int |
hashCode() |
boolean |
hasValue()
Returns whether it has the value.
|
boolean |
hasYomi()
Returns whether it has the yomi name of organization.
|
void |
setValue(java.lang.String value)
Sets the value.
|
void |
setYomi(java.lang.String yomi)
Sets the yomi name of organization.
|
java.lang.String |
toString() |
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, getHandler, isImmutable, isStrictValidation, setImmutable
public OrgName()
public OrgName(java.lang.String value, java.lang.String yomi)
value
- value.yomi
- yomi name of organization.public OrgName(java.lang.String value)
value
- value.public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- value or null
to resetpublic boolean hasValue()
public java.lang.String getYomi()
public void setYomi(java.lang.String yomi)
yomi
- yomi name of organization or null
to resetpublic boolean hasYomi()
public static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
required
- whether it is requiredrepeatable
- whether it is repeatablepublic 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