|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.substance.utils.AbstractTraitInfo
public abstract class AbstractTraitInfo
Basic class for trait info.
Constructor Summary | |
---|---|
AbstractTraitInfo(java.lang.String displayName,
java.lang.String className)
Simple constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractTraitInfo(java.lang.String displayName, java.lang.String className)
displayName
- Display name of the associated trait.className
- Class name of the associated trait.Method Detail |
---|
public java.lang.String getClassName()
SubstanceTraitInfo
getClassName
in interface SubstanceTraitInfo
public java.lang.String getDisplayName()
SubstanceTraitInfo
getDisplayName
in interface SubstanceTraitInfo
public boolean isDefault()
SubstanceTraitInfo
isDefault
in interface SubstanceTraitInfo
true
if the associated trait is default,
false
otherwise.public void setDefault(boolean isDefault)
SubstanceTraitInfo
setDefault
in interface SubstanceTraitInfo
isDefault
- New indication whether the associated trait is default.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |