|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.common.object.ObjectDefinitionImpl
com.metamatrix.common.tree.directory.FolderDefinitionImpl
public class FolderDefinitionImpl
| Constructor Summary | |
|---|---|
FolderDefinitionImpl()
Create an empty definition object with all defaults. |
|
FolderDefinitionImpl(java.lang.String name)
Create a definition object with the specified set of attributes. |
|
FolderDefinitionImpl(java.lang.String name,
java.lang.String displayName)
Create a definition object with the specified set of attributes. |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object obj)
Compares this object to another. |
boolean |
equals(java.lang.Object obj)
Returns true if the specified object is semantically equal to this instance. |
| Methods inherited from class com.metamatrix.common.object.ObjectDefinitionImpl |
|---|
clone, computeDisplayName, computePluralDisplayName, getDisplayName, getName, getPluralDisplayName, getShortDescription, getShortDisplayName, hashCode, setDisplayName, setName, setPluralDisplayName, setShortDescription, setShortDisplayName, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.metamatrix.common.object.ObjectDefinition |
|---|
getDisplayName, getName, getPluralDisplayName, getShortDescription, getShortDisplayName, toString |
| Constructor Detail |
|---|
public FolderDefinitionImpl()
public FolderDefinitionImpl(java.lang.String name)
name - the name
public FolderDefinitionImpl(java.lang.String name,
java.lang.String displayName)
name - the name| Method Detail |
|---|
public int compareTo(java.lang.Object obj)
Note: this method is consistent with
equals(), meaning that
(compare(x, y)==0) == (x.equals(y)).
compareTo in interface ObjectDefinitioncompareTo in interface java.lang.ComparablecompareTo in class ObjectDefinitionImplobj - the object that this instance is to be compared to.
java.lang.IllegalArgumentException - if the specified object reference is null
java.lang.ClassCastException - if the specified object's type prevents it
from being compared to this instance.public boolean equals(java.lang.Object obj)
compareTo().
equals in interface ObjectDefinitionequals in class ObjectDefinitionImplobj - the object that this instance is to be compared to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||