|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.common.object.PropertyType
public final class PropertyType
Field Summary | |
---|---|
static PropertyType |
BOOLEAN
|
static PropertyType |
BYTE
|
static PropertyType |
DATA_TYPE
|
static PropertyType |
DATE
|
static PropertyType |
DESCRIPTOR
|
static PropertyType |
DOUBLE
|
static PropertyType |
FILE
|
static PropertyType |
FLOAT
|
static PropertyType |
HOSTNAME
|
static PropertyType |
INTEGER
|
static PropertyType |
LIST
|
static PropertyType |
LONG
|
static PropertyType |
MULTIPLICITY
|
static PropertyType |
OBJECT_ID
|
static PropertyType |
OBJECT_REFERENCE
|
static PropertyType |
PASSWORD
|
static PropertyType |
PROPERTIED_OBJECT
|
static PropertyType |
REG_EXPRESSION
|
static PropertyType |
SET
|
static PropertyType |
SHORT
|
static PropertyType |
STRING
|
static PropertyType |
TIME
|
static PropertyType |
TIMESTAMP
|
static PropertyType |
UNBOUNDED_INTEGER
|
static java.lang.String |
UNBOUNDED_INTEGER_KEYWORD
|
static PropertyType |
URI
|
static PropertyType |
URL
|
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. |
java.lang.String |
getClassName()
Return the name of the Java class that best represents this type. |
java.lang.String |
getDisplayName()
Return the display name for this type. |
static PropertyType |
getInstance(int value)
|
static PropertyType |
getInstance(java.lang.String displayName)
|
static PropertyType |
getInstanceByClassName(java.lang.String className)
|
int |
hashCode()
Returns the hash code value for this object. |
boolean |
isValidValue(java.lang.Object value)
|
java.lang.String |
toString()
Returns a string representing the current state of the object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final PropertyType STRING
public static final PropertyType INTEGER
public static final PropertyType LONG
public static final PropertyType FLOAT
public static final PropertyType DOUBLE
public static final PropertyType BYTE
public static final PropertyType SHORT
public static final PropertyType BOOLEAN
public static final PropertyType TIME
public static final PropertyType DATE
public static final PropertyType TIMESTAMP
public static final PropertyType LIST
public static final PropertyType SET
public static final PropertyType URL
public static final PropertyType HOSTNAME
public static final PropertyType FILE
public static final PropertyType OBJECT_ID
public static final PropertyType MULTIPLICITY
public static final PropertyType PASSWORD
public static final PropertyType PROPERTIED_OBJECT
public static final PropertyType DESCRIPTOR
public static final PropertyType OBJECT_REFERENCE
public static final PropertyType DATA_TYPE
public static final PropertyType UNBOUNDED_INTEGER
public static final PropertyType REG_EXPRESSION
public static final PropertyType URI
public static final java.lang.String UNBOUNDED_INTEGER_KEYWORD
Method Detail |
---|
public static PropertyType getInstance(int value)
public static PropertyType getInstance(java.lang.String displayName)
public static PropertyType getInstanceByClassName(java.lang.String className)
public java.lang.String getDisplayName()
public java.lang.String getClassName()
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 java.lang.Comparable
obj
- 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 class java.lang.Object
obj
- the object that this instance is to be compared to.
public final int hashCode()
hashCode
in class java.lang.Object
public final java.lang.String toString()
toString
in class java.lang.Object
public boolean isValidValue(java.lang.Object value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |