ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.orm10
Interface EntityResult<T>

All Superinterfaces:
Child<T>

public interface EntityResult<T>
extends Child<T>

This interface defines the contract for the entity-result xsd type

Since:
Generation date :2012-05-09T23:45:03.702-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 FieldResult<EntityResult<T>> createFieldResult()
          Creates a new field-result element
 EntityResult<T> discriminatorColumn(String discriminatorColumn)
          Sets the discriminator-column attribute
 EntityResult<T> entityClass(String entityClass)
          Sets the entity-class attribute
 List<FieldResult<EntityResult<T>>> getAllFieldResult()
          Returns all field-result elements
 String getDiscriminatorColumn()
          Returns the discriminator-column attribute
 String getEntityClass()
          Returns the entity-class attribute
 FieldResult<EntityResult<T>> getOrCreateFieldResult()
          If not already created, a new field-result element will be created and returned.
 EntityResult<T> removeAllFieldResult()
          Removes all field-result elements
 EntityResult<T> removeDiscriminatorColumn()
          Removes the discriminator-column attribute
 EntityResult<T> removeEntityClass()
          Removes the entity-class attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateFieldResult

FieldResult<EntityResult<T>> getOrCreateFieldResult()
If not already created, a new field-result element will be created and returned. Otherwise, the first existing field-result element will be returned.

Returns:
the instance defined for the element field-result

createFieldResult

FieldResult<EntityResult<T>> createFieldResult()
Creates a new field-result element

Returns:
the new created instance of FieldResult>

getAllFieldResult

List<FieldResult<EntityResult<T>>> getAllFieldResult()
Returns all field-result elements

Returns:
list of field-result

removeAllFieldResult

EntityResult<T> removeAllFieldResult()
Removes all field-result elements

Returns:
the current instance of FieldResult>

entityClass

EntityResult<T> entityClass(String entityClass)
Sets the entity-class attribute

Parameters:
entityClass - the value for the attribute entity-class
Returns:
the current instance of EntityResult

getEntityClass

String getEntityClass()
Returns the entity-class attribute

Returns:
the value defined for the attribute entity-class

removeEntityClass

EntityResult<T> removeEntityClass()
Removes the entity-class attribute

Returns:
the current instance of EntityResult

discriminatorColumn

EntityResult<T> discriminatorColumn(String discriminatorColumn)
Sets the discriminator-column attribute

Parameters:
discriminatorColumn - the value for the attribute discriminator-column
Returns:
the current instance of EntityResult

getDiscriminatorColumn

String getDiscriminatorColumn()
Returns the discriminator-column attribute

Returns:
the value defined for the attribute discriminator-column

removeDiscriminatorColumn

EntityResult<T> removeDiscriminatorColumn()
Removes the discriminator-column attribute

Returns:
the current instance of EntityResult

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.