|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.openejb.jee.jpa.MappedSuperclass
public class MappedSuperclass
Defines the settings and mappings for a mapped superclass. Is allowed to be sparsely populated and used in conjunction with the annotations. Alternatively, the metadata-complete attribute can be used to indicate that no annotations are to be processed If this is the case then the defaulting rules will be recursively applied.
| Field Summary | |
|---|---|
protected AccessType |
access
|
protected Attributes |
attributes
|
protected java.lang.String |
clazz
|
protected java.lang.String |
description
|
protected EntityListeners |
entityListeners
|
protected EmptyType |
excludeDefaultListeners
|
protected EmptyType |
excludeSuperclassListeners
|
protected IdClass |
idClass
|
protected java.lang.Boolean |
metadataComplete
|
protected PostLoad |
postLoad
|
protected PostPersist |
postPersist
|
protected PostRemove |
postRemove
|
protected PostUpdate |
postUpdate
|
protected PrePersist |
prePersist
|
protected PreRemove |
preRemove
|
protected PreUpdate |
preUpdate
|
| Constructor Summary | |
|---|---|
MappedSuperclass()
|
|
MappedSuperclass(java.lang.String clazz)
|
|
| Method Summary | |
|---|---|
void |
addField(Field field)
|
AccessType |
getAccess()
Gets the value of the access property. |
Attributes |
getAttributes()
Gets the value of the attributes property. |
java.lang.String |
getClazz()
Gets the value of the clazz property. |
java.lang.String |
getDescription()
Gets the value of the description property. |
EntityListeners |
getEntityListeners()
Gets the value of the entityListeners property. |
IdClass |
getIdClass()
Gets the value of the idClass property. |
java.lang.String |
getKey()
Gets the immutable key for this object. |
PostLoad |
getPostLoad()
Gets the value of the postLoad property. |
PostPersist |
getPostPersist()
Gets the value of the postPersist property. |
PostRemove |
getPostRemove()
Gets the value of the postRemove property. |
PostUpdate |
getPostUpdate()
Gets the value of the postUpdate property. |
PrePersist |
getPrePersist()
Gets the value of the prePersist property. |
PreRemove |
getPreRemove()
Gets the value of the preRemove property. |
PreUpdate |
getPreUpdate()
Gets the value of the preUpdate property. |
boolean |
isExcludeDefaultListeners()
Gets the value of the excludeDefaultListeners property. |
boolean |
isExcludeSuperclassListeners()
Gets the value of the excludeSuperclassListeners property. |
java.lang.Boolean |
isMetadataComplete()
Gets the value of the metadataComplete property. |
void |
setAccess(AccessType value)
Sets the value of the access property. |
void |
setAttributes(Attributes value)
Sets the value of the attributes property. |
void |
setClazz(java.lang.String value)
Sets the value of the clazz property. |
void |
setDescription(java.lang.String value)
Sets the value of the description property. |
void |
setEntityListeners(EntityListeners value)
Sets the value of the entityListeners property. |
void |
setExcludeDefaultListeners(boolean value)
Sets the value of the excludeDefaultListeners property. |
void |
setExcludeSuperclassListeners(boolean value)
Sets the value of the excludeSuperclassListeners property. |
void |
setIdClass(IdClass value)
Sets the value of the idClass property. |
void |
setMetadataComplete(java.lang.Boolean value)
Sets the value of the metadataComplete property. |
void |
setPostLoad(PostLoad value)
Sets the value of the postLoad property. |
void |
setPostPersist(PostPersist value)
Sets the value of the postPersist property. |
void |
setPostRemove(PostRemove value)
Sets the value of the postRemove property. |
void |
setPostUpdate(PostUpdate value)
Sets the value of the postUpdate property. |
void |
setPrePersist(PrePersist value)
Sets the value of the prePersist property. |
void |
setPreRemove(PreRemove value)
Sets the value of the preRemove property. |
void |
setPreUpdate(PreUpdate value)
Sets the value of the preUpdate property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String description
protected IdClass idClass
protected EmptyType excludeDefaultListeners
protected EmptyType excludeSuperclassListeners
protected EntityListeners entityListeners
protected PrePersist prePersist
protected PostPersist postPersist
protected PreRemove preRemove
protected PostRemove postRemove
protected PreUpdate preUpdate
protected PostUpdate postUpdate
protected PostLoad postLoad
protected Attributes attributes
protected AccessType access
protected java.lang.String clazz
protected java.lang.Boolean metadataComplete
| Constructor Detail |
|---|
public MappedSuperclass()
public MappedSuperclass(java.lang.String clazz)
| Method Detail |
|---|
public java.lang.String getDescription()
getDescription in interface MappingStringpublic void setDescription(java.lang.String value)
setDescription in interface Mappingvalue - allowed object is
Stringpublic IdClass getIdClass()
getIdClass in interface MappingIdClasspublic void setIdClass(IdClass value)
setIdClass in interface Mappingvalue - allowed object is
IdClasspublic boolean isExcludeDefaultListeners()
isExcludeDefaultListeners in interface Mappingboolean public void setExcludeDefaultListeners(boolean value)
setExcludeDefaultListeners in interface Mappingvalue - allowed object is
boolean public boolean isExcludeSuperclassListeners()
isExcludeSuperclassListeners in interface Mappingboolean public void setExcludeSuperclassListeners(boolean value)
setExcludeSuperclassListeners in interface Mappingvalue - allowed object is
boolean public EntityListeners getEntityListeners()
getEntityListeners in interface MappingEntityListenerspublic void setEntityListeners(EntityListeners value)
setEntityListeners in interface Mappingvalue - allowed object is
EntityListenerspublic PrePersist getPrePersist()
getPrePersist in interface MappingPrePersistpublic void setPrePersist(PrePersist value)
setPrePersist in interface Mappingvalue - allowed object is
PrePersistpublic PostPersist getPostPersist()
getPostPersist in interface MappingPostPersistpublic void setPostPersist(PostPersist value)
setPostPersist in interface Mappingvalue - allowed object is
PostPersistpublic PreRemove getPreRemove()
getPreRemove in interface MappingPreRemovepublic void setPreRemove(PreRemove value)
setPreRemove in interface Mappingvalue - allowed object is
PreRemovepublic PostRemove getPostRemove()
getPostRemove in interface MappingPostRemovepublic void setPostRemove(PostRemove value)
setPostRemove in interface Mappingvalue - allowed object is
PostRemovepublic PreUpdate getPreUpdate()
getPreUpdate in interface MappingPreUpdatepublic void setPreUpdate(PreUpdate value)
setPreUpdate in interface Mappingvalue - allowed object is
PreUpdatepublic PostUpdate getPostUpdate()
getPostUpdate in interface MappingPostUpdatepublic void setPostUpdate(PostUpdate value)
setPostUpdate in interface Mappingvalue - allowed object is
PostUpdatepublic PostLoad getPostLoad()
getPostLoad in interface MappingPostLoadpublic void setPostLoad(PostLoad value)
setPostLoad in interface Mappingvalue - allowed object is
PostLoadpublic Attributes getAttributes()
getAttributes in interface MappingAttributespublic void setAttributes(Attributes value)
setAttributes in interface Mappingvalue - allowed object is
Attributespublic AccessType getAccess()
getAccess in interface MappingAccessTypepublic void setAccess(AccessType value)
setAccess in interface Mappingvalue - allowed object is
AccessTypepublic java.lang.String getClazz()
getClazz in interface MappingStringpublic void setClazz(java.lang.String value)
setClazz in interface Mappingvalue - allowed object is
Stringpublic java.lang.Boolean isMetadataComplete()
isMetadataComplete in interface MappingBooleanpublic void setMetadataComplete(java.lang.Boolean value)
setMetadataComplete in interface Mappingvalue - allowed object is
Booleanpublic void addField(Field field)
addField in interface Mappingpublic java.lang.String getKey()
Keyable
getKey in interface Keyable<java.lang.String>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||