|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.addon.jpacontainer.metadata.ClassMetadata<T>
com.vaadin.addon.jpacontainer.metadata.EntityClassMetadata<T>
public class EntityClassMetadata<T>
An extended version of ClassMetadata that provides additional
information about classes annotated with the Entity annotation.
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getEntityName()
The name of the entity. |
PersistentPropertyMetadata |
getIdentifierProperty()
Gets the identifier property, if it exists. |
PersistentPropertyMetadata |
getVersionProperty()
Gets the version property, if it exists. |
boolean |
hasEmbeddedIdentifier()
If the entity has an embedded identifier. |
int |
hashCode()
|
boolean |
hasIdentifierProperty()
If the entity has an identifier property or not. |
boolean |
hasVersionProperty()
If the entity has a version property or not. |
| Methods inherited from class com.vaadin.addon.jpacontainer.metadata.ClassMetadata |
|---|
getGetterMethod, getMappedClass, getPersistentProperties, getPersistentPropertyNames, getProperties, getProperty, getPropertyNames, getPropertyValue, getPropertyValue, getSetterMethod, setPropertyValue, setPropertyValue |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getEntityName()
public boolean hasVersionProperty()
getVersionProperty()public PersistentPropertyMetadata getVersionProperty()
hasVersionProperty()public boolean hasIdentifierProperty()
getIdentifierProperty(),
hasEmbeddedIdentifier()public PersistentPropertyMetadata getIdentifierProperty()
hasEmbeddedIdentifier() returns true, this property is the
embedded identifier.
hasIdentifierProperty(),
hasEmbeddedIdentifier()public boolean hasEmbeddedIdentifier()
hasIdentifierProperty() also returns true.
public boolean equals(Object obj)
equals in class ClassMetadata<T>public int hashCode()
hashCode in class ClassMetadata<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||