SubstanceTraitInfoSkinInfopublic class TraitInfoImpl extends Object implements SubstanceTraitInfo
| Constructor | Description |
|---|---|
TraitInfoImpl(String displayName,
String className) |
Simple constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
getClassName() |
Returns the class name of the associated trait.
|
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 String getClassName()
SubstanceTraitInfogetClassName in interface SubstanceTraitInfopublic 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.