|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Entity<T>
This interface defines the contract for the entity
xsd type
Method Summary | |
---|---|
Entity<T> |
access(AccessType access)
Sets the access attribute |
Entity<T> |
access(String access)
Sets the access attribute |
Entity<T> |
cacheable(Boolean cacheable)
Sets the cacheable attribute |
Entity<T> |
clazz(String clazz)
Sets the class attribute |
AssociationOverride<Entity<T>> |
createAssociationOverride()
Creates a new association-override element |
AttributeOverride<Entity<T>> |
createAttributeOverride()
Creates a new attribute-override element |
NamedNativeQuery<Entity<T>> |
createNamedNativeQuery()
Creates a new named-native-query element |
NamedQuery<Entity<T>> |
createNamedQuery()
Creates a new named-query element |
PrimaryKeyJoinColumn<Entity<T>> |
createPrimaryKeyJoinColumn()
Creates a new primary-key-join-column element |
SecondaryTable<Entity<T>> |
createSecondaryTable()
Creates a new secondary-table element |
SqlResultSetMapping<Entity<T>> |
createSqlResultSetMapping()
Creates a new sql-result-set-mapping element |
Entity<T> |
description(String description)
Sets the description element |
Entity<T> |
discriminatorValue(String discriminatorValue)
Sets the discriminator-value element |
Entity<T> |
excludeDefaultListeners()
Sets the exclude-default-listeners element |
Entity<T> |
excludeSuperclassListeners()
Sets the exclude-superclass-listeners element |
AccessType |
getAccess()
Returns the access attribute |
String |
getAccessAsString()
Returns the access attribute |
List<AssociationOverride<Entity<T>>> |
getAllAssociationOverride()
Returns all association-override elements |
List<AttributeOverride<Entity<T>>> |
getAllAttributeOverride()
Returns all attribute-override elements |
List<NamedNativeQuery<Entity<T>>> |
getAllNamedNativeQuery()
Returns all named-native-query elements |
List<NamedQuery<Entity<T>>> |
getAllNamedQuery()
Returns all named-query elements |
List<PrimaryKeyJoinColumn<Entity<T>>> |
getAllPrimaryKeyJoinColumn()
Returns all primary-key-join-column elements |
List<SecondaryTable<Entity<T>>> |
getAllSecondaryTable()
Returns all secondary-table elements |
List<SqlResultSetMapping<Entity<T>>> |
getAllSqlResultSetMapping()
Returns all sql-result-set-mapping elements |
String |
getClazz()
Returns the class attribute |
String |
getDescription()
Returns the description element |
String |
getDiscriminatorValue()
Returns the discriminator-value element |
String |
getName()
Returns the name attribute |
AssociationOverride<Entity<T>> |
getOrCreateAssociationOverride()
If not already created, a new association-override element will be created and returned. |
AttributeOverride<Entity<T>> |
getOrCreateAttributeOverride()
If not already created, a new attribute-override element will be created and returned. |
Attributes<Entity<T>> |
getOrCreateAttributes()
If not already created, a new attributes element with the given value will be created. |
DiscriminatorColumn<Entity<T>> |
getOrCreateDiscriminatorColumn()
If not already created, a new discriminator-column element with the given value will be created. |
EntityListeners<Entity<T>> |
getOrCreateEntityListeners()
If not already created, a new entity-listeners element with the given value will be created. |
IdClass<Entity<T>> |
getOrCreateIdClass()
If not already created, a new id-class element with the given value will be created. |
Inheritance<Entity<T>> |
getOrCreateInheritance()
If not already created, a new inheritance element with the given value will be created. |
NamedNativeQuery<Entity<T>> |
getOrCreateNamedNativeQuery()
If not already created, a new named-native-query element will be created and returned. |
NamedQuery<Entity<T>> |
getOrCreateNamedQuery()
If not already created, a new named-query element will be created and returned. |
PostLoad<Entity<T>> |
getOrCreatePostLoad()
If not already created, a new post-load element with the given value will be created. |
PostPersist<Entity<T>> |
getOrCreatePostPersist()
If not already created, a new post-persist element with the given value will be created. |
PostRemove<Entity<T>> |
getOrCreatePostRemove()
If not already created, a new post-remove element with the given value will be created. |
PostUpdate<Entity<T>> |
getOrCreatePostUpdate()
If not already created, a new post-update element with the given value will be created. |
PrePersist<Entity<T>> |
getOrCreatePrePersist()
If not already created, a new pre-persist element with the given value will be created. |
PreRemove<Entity<T>> |
getOrCreatePreRemove()
If not already created, a new pre-remove element with the given value will be created. |
PreUpdate<Entity<T>> |
getOrCreatePreUpdate()
If not already created, a new pre-update element with the given value will be created. |
PrimaryKeyJoinColumn<Entity<T>> |
getOrCreatePrimaryKeyJoinColumn()
If not already created, a new primary-key-join-column element will be created and returned. |
SecondaryTable<Entity<T>> |
getOrCreateSecondaryTable()
If not already created, a new secondary-table element will be created and returned. |
SequenceGenerator<Entity<T>> |
getOrCreateSequenceGenerator()
If not already created, a new sequence-generator element with the given value will be created. |
SqlResultSetMapping<Entity<T>> |
getOrCreateSqlResultSetMapping()
If not already created, a new sql-result-set-mapping element will be created and returned. |
Table<Entity<T>> |
getOrCreateTable()
If not already created, a new table element with the given value will be created. |
TableGenerator<Entity<T>> |
getOrCreateTableGenerator()
If not already created, a new table-generator element with the given value will be created. |
Boolean |
isCacheable()
Returns the cacheable attribute |
Boolean |
isExcludeDefaultListeners()
Removes the exclude-default-listeners element |
Boolean |
isExcludeSuperclassListeners()
Removes the exclude-superclass-listeners element |
Boolean |
isMetadataComplete()
Returns the metadata-complete attribute |
Entity<T> |
metadataComplete(Boolean metadataComplete)
Sets the metadata-complete attribute |
Entity<T> |
name(String name)
Sets the name attribute |
Entity<T> |
removeAccess()
Removes the access attribute |
Entity<T> |
removeAllAssociationOverride()
Removes all association-override elements |
Entity<T> |
removeAllAttributeOverride()
Removes all attribute-override elements |
Entity<T> |
removeAllNamedNativeQuery()
Removes all named-native-query elements |
Entity<T> |
removeAllNamedQuery()
Removes all named-query elements |
Entity<T> |
removeAllPrimaryKeyJoinColumn()
Removes all primary-key-join-column elements |
Entity<T> |
removeAllSecondaryTable()
Removes all secondary-table elements |
Entity<T> |
removeAllSqlResultSetMapping()
Removes all sql-result-set-mapping elements |
Entity<T> |
removeAttributes()
Removes the attributes element |
Entity<T> |
removeCacheable()
Removes the cacheable attribute |
Entity<T> |
removeClazz()
Removes the class attribute |
Entity<T> |
removeDescription()
Removes the description element |
Entity<T> |
removeDiscriminatorColumn()
Removes the discriminator-column element |
Entity<T> |
removeDiscriminatorValue()
Removes the discriminator-value element |
Entity<T> |
removeEntityListeners()
Removes the entity-listeners element |
Entity<T> |
removeExcludeDefaultListeners()
Removes the exclude-default-listeners element |
Entity<T> |
removeExcludeSuperclassListeners()
Removes the exclude-superclass-listeners element |
Entity<T> |
removeIdClass()
Removes the id-class element |
Entity<T> |
removeInheritance()
Removes the inheritance element |
Entity<T> |
removeMetadataComplete()
Removes the metadata-complete attribute |
Entity<T> |
removeName()
Removes the name attribute |
Entity<T> |
removePostLoad()
Removes the post-load element |
Entity<T> |
removePostPersist()
Removes the post-persist element |
Entity<T> |
removePostRemove()
Removes the post-remove element |
Entity<T> |
removePostUpdate()
Removes the post-update element |
Entity<T> |
removePrePersist()
Removes the pre-persist element |
Entity<T> |
removePreRemove()
Removes the pre-remove element |
Entity<T> |
removePreUpdate()
Removes the pre-update element |
Entity<T> |
removeSequenceGenerator()
Removes the sequence-generator element |
Entity<T> |
removeTable()
Removes the table element |
Entity<T> |
removeTableGenerator()
Removes the table-generator element |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
Entity<T> description(String description)
description
element
description
- the value for the element description
Entity
String getDescription()
description
element
description
Entity<T> removeDescription()
description
element
Entity
Table<Entity<T>> getOrCreateTable()
table
element with the given value will be created.
Otherwise, the existing table
element will be returned.
Table>
Entity<T> removeTable()
table
element
Entity
SecondaryTable<Entity<T>> getOrCreateSecondaryTable()
secondary-table
element will be created and returned.
Otherwise, the first existing secondary-table
element will be returned.
secondary-table
SecondaryTable<Entity<T>> createSecondaryTable()
secondary-table
element
SecondaryTable>
List<SecondaryTable<Entity<T>>> getAllSecondaryTable()
secondary-table
elements
secondary-table
Entity<T> removeAllSecondaryTable()
secondary-table
elements
SecondaryTable>
PrimaryKeyJoinColumn<Entity<T>> getOrCreatePrimaryKeyJoinColumn()
primary-key-join-column
element will be created and returned.
Otherwise, the first existing primary-key-join-column
element will be returned.
primary-key-join-column
PrimaryKeyJoinColumn<Entity<T>> createPrimaryKeyJoinColumn()
primary-key-join-column
element
PrimaryKeyJoinColumn>
List<PrimaryKeyJoinColumn<Entity<T>>> getAllPrimaryKeyJoinColumn()
primary-key-join-column
elements
primary-key-join-column
Entity<T> removeAllPrimaryKeyJoinColumn()
primary-key-join-column
elements
PrimaryKeyJoinColumn>
IdClass<Entity<T>> getOrCreateIdClass()
id-class
element with the given value will be created.
Otherwise, the existing id-class
element will be returned.
IdClass>
Entity<T> removeIdClass()
id-class
element
Entity
Inheritance<Entity<T>> getOrCreateInheritance()
inheritance
element with the given value will be created.
Otherwise, the existing inheritance
element will be returned.
Inheritance>
Entity<T> removeInheritance()
inheritance
element
Entity
Entity<T> discriminatorValue(String discriminatorValue)
discriminator-value
element
discriminatorValue
- the value for the element discriminator-value
Entity
String getDiscriminatorValue()
discriminator-value
element
discriminator-value
Entity<T> removeDiscriminatorValue()
discriminator-value
element
Entity
DiscriminatorColumn<Entity<T>> getOrCreateDiscriminatorColumn()
discriminator-column
element with the given value will be created.
Otherwise, the existing discriminator-column
element will be returned.
DiscriminatorColumn>
Entity<T> removeDiscriminatorColumn()
discriminator-column
element
Entity
SequenceGenerator<Entity<T>> getOrCreateSequenceGenerator()
sequence-generator
element with the given value will be created.
Otherwise, the existing sequence-generator
element will be returned.
SequenceGenerator>
Entity<T> removeSequenceGenerator()
sequence-generator
element
Entity
TableGenerator<Entity<T>> getOrCreateTableGenerator()
table-generator
element with the given value will be created.
Otherwise, the existing table-generator
element will be returned.
TableGenerator>
Entity<T> removeTableGenerator()
table-generator
element
Entity
NamedQuery<Entity<T>> getOrCreateNamedQuery()
named-query
element will be created and returned.
Otherwise, the first existing named-query
element will be returned.
named-query
NamedQuery<Entity<T>> createNamedQuery()
named-query
element
NamedQuery>
List<NamedQuery<Entity<T>>> getAllNamedQuery()
named-query
elements
named-query
Entity<T> removeAllNamedQuery()
named-query
elements
NamedQuery>
NamedNativeQuery<Entity<T>> getOrCreateNamedNativeQuery()
named-native-query
element will be created and returned.
Otherwise, the first existing named-native-query
element will be returned.
named-native-query
NamedNativeQuery<Entity<T>> createNamedNativeQuery()
named-native-query
element
NamedNativeQuery>
List<NamedNativeQuery<Entity<T>>> getAllNamedNativeQuery()
named-native-query
elements
named-native-query
Entity<T> removeAllNamedNativeQuery()
named-native-query
elements
NamedNativeQuery>
SqlResultSetMapping<Entity<T>> getOrCreateSqlResultSetMapping()
sql-result-set-mapping
element will be created and returned.
Otherwise, the first existing sql-result-set-mapping
element will be returned.
sql-result-set-mapping
SqlResultSetMapping<Entity<T>> createSqlResultSetMapping()
sql-result-set-mapping
element
SqlResultSetMapping>
List<SqlResultSetMapping<Entity<T>>> getAllSqlResultSetMapping()
sql-result-set-mapping
elements
sql-result-set-mapping
Entity<T> removeAllSqlResultSetMapping()
sql-result-set-mapping
elements
SqlResultSetMapping>
Entity<T> excludeDefaultListeners()
exclude-default-listeners
element
Entity
Boolean isExcludeDefaultListeners()
exclude-default-listeners
element
Entity
Entity<T> removeExcludeDefaultListeners()
exclude-default-listeners
element
Entity
Entity<T> excludeSuperclassListeners()
exclude-superclass-listeners
element
Entity
Boolean isExcludeSuperclassListeners()
exclude-superclass-listeners
element
Entity
Entity<T> removeExcludeSuperclassListeners()
exclude-superclass-listeners
element
Entity
EntityListeners<Entity<T>> getOrCreateEntityListeners()
entity-listeners
element with the given value will be created.
Otherwise, the existing entity-listeners
element will be returned.
EntityListeners>
Entity<T> removeEntityListeners()
entity-listeners
element
Entity
PrePersist<Entity<T>> getOrCreatePrePersist()
pre-persist
element with the given value will be created.
Otherwise, the existing pre-persist
element will be returned.
PrePersist>
Entity<T> removePrePersist()
pre-persist
element
Entity
PostPersist<Entity<T>> getOrCreatePostPersist()
post-persist
element with the given value will be created.
Otherwise, the existing post-persist
element will be returned.
PostPersist>
Entity<T> removePostPersist()
post-persist
element
Entity
PreRemove<Entity<T>> getOrCreatePreRemove()
pre-remove
element with the given value will be created.
Otherwise, the existing pre-remove
element will be returned.
PreRemove>
Entity<T> removePreRemove()
pre-remove
element
Entity
PostRemove<Entity<T>> getOrCreatePostRemove()
post-remove
element with the given value will be created.
Otherwise, the existing post-remove
element will be returned.
PostRemove>
Entity<T> removePostRemove()
post-remove
element
Entity
PreUpdate<Entity<T>> getOrCreatePreUpdate()
pre-update
element with the given value will be created.
Otherwise, the existing pre-update
element will be returned.
PreUpdate>
Entity<T> removePreUpdate()
pre-update
element
Entity
PostUpdate<Entity<T>> getOrCreatePostUpdate()
post-update
element with the given value will be created.
Otherwise, the existing post-update
element will be returned.
PostUpdate>
Entity<T> removePostUpdate()
post-update
element
Entity
PostLoad<Entity<T>> getOrCreatePostLoad()
post-load
element with the given value will be created.
Otherwise, the existing post-load
element will be returned.
PostLoad>
Entity<T> removePostLoad()
post-load
element
Entity
AttributeOverride<Entity<T>> getOrCreateAttributeOverride()
attribute-override
element will be created and returned.
Otherwise, the first existing attribute-override
element will be returned.
attribute-override
AttributeOverride<Entity<T>> createAttributeOverride()
attribute-override
element
AttributeOverride>
List<AttributeOverride<Entity<T>>> getAllAttributeOverride()
attribute-override
elements
attribute-override
Entity<T> removeAllAttributeOverride()
attribute-override
elements
AttributeOverride>
AssociationOverride<Entity<T>> getOrCreateAssociationOverride()
association-override
element will be created and returned.
Otherwise, the first existing association-override
element will be returned.
association-override
AssociationOverride<Entity<T>> createAssociationOverride()
association-override
element
AssociationOverride>
List<AssociationOverride<Entity<T>>> getAllAssociationOverride()
association-override
elements
association-override
Entity<T> removeAllAssociationOverride()
association-override
elements
AssociationOverride>
Attributes<Entity<T>> getOrCreateAttributes()
attributes
element with the given value will be created.
Otherwise, the existing attributes
element will be returned.
Attributes>
Entity<T> removeAttributes()
attributes
element
Entity
Entity<T> name(String name)
name
attribute
name
- the value for the attribute name
Entity
String getName()
name
attribute
name
Entity<T> removeName()
name
attribute
Entity
Entity<T> clazz(String clazz)
class
attribute
clazz
- the value for the attribute class
Entity
String getClazz()
class
attribute
class
Entity<T> removeClazz()
class
attribute
Entity
Entity<T> access(AccessType access)
access
attribute
access
- the value for the attribute access
Entity
Entity<T> access(String access)
access
attribute
access
- the value for the attribute access
Entity
AccessType getAccess()
access
attribute
access
String getAccessAsString()
access
attribute
access
Entity<T> removeAccess()
access
attribute
Entity
Entity<T> cacheable(Boolean cacheable)
cacheable
attribute
cacheable
- the value for the attribute cacheable
Entity
Boolean isCacheable()
cacheable
attribute
cacheable
Entity<T> removeCacheable()
cacheable
attribute
Entity
Entity<T> metadataComplete(Boolean metadataComplete)
metadata-complete
attribute
metadataComplete
- the value for the attribute metadata-complete
Entity
Boolean isMetadataComplete()
metadata-complete
attribute
metadata-complete
Entity<T> removeMetadataComplete()
metadata-complete
attribute
Entity
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |