public class ClassType extends Type
| Modifier and Type | Field and Description |
|---|---|
protected Map |
fieldInfos |
protected PersistenceClassElement |
pce |
protected TypeTable |
typetab
The associated type table.
|
| Constructor and Description |
|---|
ClassType(String name,
Class clazz,
int enumType,
TypeTable typetab) |
ClassType(String name,
Class clazz,
TypeTable typetab) |
| Modifier and Type | Method and Description |
|---|---|
FieldInfo |
getFieldInfo(String fieldName)
Return FieldInfo object for the field with the specified name.
|
FieldInfo[] |
getFieldInfos()
Returns an array of fieldInfos for all declared fields.
|
List |
getKeyFieldNames()
Return the list of key field names
|
boolean |
isCompatibleWith(Type type)
Checks the compatibility of this with the specified type.
|
boolean |
isOrderable()
Returns whether this represents a type with an
defined order.
|
boolean |
isPersistenceCapable()
Returns true if this is defined as persistence capable class.
|
equals, getEnumType, getJavaClass, getName, toStringprotected TypeTable typetab
protected Map fieldInfos
protected PersistenceClassElement pce
public boolean isCompatibleWith(Type type)
isCompatibleWith in class Typetype - type for compatibility checkType.isCompatibleWith(Type)public boolean isOrderable()
isOrderable in class Typepublic boolean isPersistenceCapable()
public FieldInfo[] getFieldInfos()
public FieldInfo getFieldInfo(String fieldName)
public List getKeyFieldNames()
Copyright © 2017. All rights reserved.