thinkui.db
Class RelationshipType
java.lang.Object
thinkui.db.RelationshipType
- All Implemented Interfaces:
- java.io.Serializable
- public final class RelationshipType
- extends java.lang.Object
- implements java.io.Serializable
Encapsulates information about possible data class relationship types.
RelationshipType objects are immutable.
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(java.lang.Object object)
Two relationship type objects are equal if they have exactly the same name |
static RelationshipType |
get(java.lang.String name)
Lookup the relationship type for the given relationship type name. |
java.lang.String |
getName()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
CAPTIONS
public static final java.lang.String[] CAPTIONS
CHILD
public static final RelationshipType CHILD
CHILD_TYPE_NAME
public static final java.lang.String CHILD_TYPE_NAME
- See Also:
- Constant Field Values
METHOD
public static final RelationshipType METHOD
METHOD_TYPE_NAME
public static final java.lang.String METHOD_TYPE_NAME
- See Also:
- Constant Field Values
NAMES
public static final java.lang.String[] NAMES
NESTED_CLASS
public static final RelationshipType NESTED_CLASS
NESTED_CLASS_TYPE_NAME
public static final java.lang.String NESTED_CLASS_TYPE_NAME
- See Also:
- Constant Field Values
PARENT
public static final RelationshipType PARENT
PARENT_TYPE_NAME
public static final java.lang.String PARENT_TYPE_NAME
- See Also:
- Constant Field Values
RELATES_FK
public static final RelationshipType RELATES_FK
RELATES_FK_TYPE_NAME
public static final java.lang.String RELATES_FK_TYPE_NAME
- See Also:
- Constant Field Values
RELATES_PK
public static final RelationshipType RELATES_PK
RELATES_PK_TYPE_NAME
public static final java.lang.String RELATES_PK_TYPE_NAME
- See Also:
- Constant Field Values
SUBCLASS
public static final RelationshipType SUBCLASS
SUBCLASS_TYPE_NAME
public static final java.lang.String SUBCLASS_TYPE_NAME
- See Also:
- Constant Field Values
SUPERCLASS
public static final RelationshipType SUPERCLASS
SUPERCLASS_TYPE_NAME
public static final java.lang.String SUPERCLASS_TYPE_NAME
- See Also:
- Constant Field Values
equals
public final boolean equals(java.lang.Object object)
- Two relationship type objects are equal if they have exactly the same name
- Returns:
- whether or not the specified object is equals to this object.
get
public static final RelationshipType get(java.lang.String name)
- Lookup the relationship type for the given relationship type name.
- Returns:
- the named relationship type or null.
getName
public final java.lang.String getName()
- Returns:
- the name of the relationship type.
toString
public final java.lang.String toString()
- Returns:
- the string representation (i.e. name) of the relationship type.
Copyright © 2007-2009. ThinkUI Software Inc. All rights reserved.