public class TraitInfoImpl extends java.lang.Object implements SubstanceTraitInfo
| Constructor and Description |
|---|
TraitInfoImpl(java.lang.String displayName,
java.lang.String className)
Simple constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClassName()
Returns the class name of the associated trait.
|
java.lang.String |
getDisplayName()
Returns the display name of the associated trait.
|
boolean |
isDefault()
Returns indication whether the associated trait is default.
|
void |
setDefault(boolean isDefault)
Sets indication whether the associated trait is default.
|
public TraitInfoImpl(java.lang.String displayName,
java.lang.String className)
displayName - Display name of the associated trait.className - Class name of the associated trait.public java.lang.String getClassName()
SubstanceTraitInfogetClassName in interface SubstanceTraitInfopublic java.lang.String getDisplayName()
SubstanceTraitInfogetDisplayName in interface SubstanceTraitInfopublic boolean isDefault()
SubstanceTraitInfoisDefault in interface SubstanceTraitInfotrue if the associated trait is default,
false otherwise.public void setDefault(boolean isDefault)
SubstanceTraitInfosetDefault in interface SubstanceTraitInfoisDefault - New indication whether the associated trait is default.