|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.spicefactory.pimento.metamodel.impl.TypeImpl
org.spicefactory.pimento.metamodel.impl.ManagedTypeImpl
org.spicefactory.pimento.metamodel.impl.EntityImpl
public class EntityImpl
Default implementation of the Entity interface.
| Method Summary | |
|---|---|
Attribute |
getIdProperty()
Returns the property holding the entity id. |
InterceptorManager |
getInterceptorManager()
Returns the manager responsible for interceptors of this entity. |
String |
getName()
Returns the JPA entity name. |
Set<Operation> |
getOperations()
Returns the EnityManager operations permitted for the client. |
PersistenceAdapter |
getPersistenceAdapter()
Returns the persistence adapter that is responsible for managing operations of this entity type. |
List<ManagedProperty> |
getRefreshableProperties()
Returns all properties that were configured to be refreshable. |
Entity |
getSupertype()
Returns the pesistent superclass of this entity. |
int |
getTypeHandle()
Returns the type handle for this entity. |
boolean |
hasOperation(Operation op)
Checks whether the specified operation is permitted for the client |
boolean |
isRefreshable()
Checks whether this entity contains any properties marked as refreshable. |
void |
writeExternal(DataOutput output)
Saves the content of this object to the DataOutput instance. |
| Methods inherited from class org.spicefactory.pimento.metamodel.impl.ManagedTypeImpl |
|---|
getProperties, getProperty |
| Methods inherited from class org.spicefactory.pimento.metamodel.impl.TypeImpl |
|---|
getJavaType, readExternal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.spicefactory.pimento.metamodel.ManagedType |
|---|
getProperties, getProperty |
| Methods inherited from interface org.spicefactory.pimento.metamodel.Type |
|---|
getJavaType |
| Method Detail |
|---|
public InterceptorManager getInterceptorManager()
Entity
getInterceptorManager in interface Entitypublic int getTypeHandle()
getTypeHandle in interface Entitypublic String getName()
getName in interface Entitypublic PersistenceAdapter getPersistenceAdapter()
getPersistenceAdapter in interface Entitypublic Attribute getIdProperty()
getIdProperty in interface Entitypublic List<ManagedProperty> getRefreshableProperties()
getRefreshableProperties in interface Entitypublic Set<Operation> getOperations()
getOperations in interface Entitypublic boolean hasOperation(Operation op)
hasOperation in interface Entityop - the operation to check
public Entity getSupertype()
getSupertype in interface Entitypublic boolean isRefreshable()
isRefreshable in interface Entitypublic void writeExternal(DataOutput output)
Externalizable
writeExternal in interface ExternalizablewriteExternal in class ManagedTypeImploutput - the output to write to
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||