T - the Java classpublic class JClass<T> extends JSchemaObject
| Modifier and Type | Method and Description |
|---|---|
<T extends JField> |
getJField(int storageId,
Class<T> type)
Get the
JField in this instance associated with the specified storage ID, cast to the given type. |
SortedMap<String,JField> |
getJFieldsByName()
Get all
JField's associated with this instance, indexed by name. |
SortedMap<Integer,JField> |
getJFieldsByStorageId()
Get all
JField's associated with this instance, indexed by storage ID. |
Class<T> |
getType()
Get the Java model object type associated with this instance.
|
getJSimpleDB, getName, getStorageId, toStringpublic Class<T> getType()
public SortedMap<Integer,JField> getJFieldsByStorageId()
JField's associated with this instance, indexed by storage ID.JClasspublic SortedMap<String,JField> getJFieldsByName()
JField's associated with this instance, indexed by name.JClasspublic <T extends JField> T getJField(int storageId, Class<T> type)
JField in this instance associated with the specified storage ID, cast to the given type.T - expected field typestorageId - field storage IDtype - required typeJField in this instance corresponding to storageIdUnknownFieldException - if storageId does not correspond to any field in this instanceUnknownFieldException - if the field is not an instance of of typeCopyright © 2017. All rights reserved.