net.sourceforge.ccxjc.it.model.priv.indexed.novalueclass.persistence.orm.impl
Class EntityMappingsImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.priv.indexed.novalueclass.persistence.orm.impl.EntityMappingsImpl
All Implemented Interfaces:
Serializable, Cloneable, EntityMappings

public class EntityMappingsImpl
extends Object
implements Serializable, Cloneable, EntityMappings

See Also:
Serialized Form

Field Summary
protected  String _package
           
protected  AccessType access
           
protected  String catalog
           
protected  String description
           
protected  Embeddable[] embeddable
           
protected  Entity[] entity
           
protected  MappedSuperclass[] mappedSuperclass
           
protected  NamedNativeQuery[] namedNativeQuery
           
protected  NamedQuery[] namedQuery
           
protected  PersistenceUnitMetadataImpl persistenceUnitMetadata
           
protected  String schema
           
protected  SequenceGenerator[] sequenceGenerator
           
protected  SqlResultSetMapping[] sqlResultSetMapping
           
protected  TableGenerator[] tableGenerator
           
protected  String version
           
 
Constructor Summary
EntityMappingsImpl()
          Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.novalueclass.persistence.orm.impl.EntityMappingsImpl instance.
EntityMappingsImpl(EntityMappingsImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.novalueclass.persistence.orm.impl.EntityMappingsImpl instance by copying a given instance.
 
Method Summary
 EntityMappingsImpl clone()
          Creates and returns a copy of this object.
 AccessType getAccess()
          Gets the value of the access property.
 String getCatalog()
          Gets the value of the catalog property.
 String getDescription()
          Gets the value of the description property.
 Embeddable[] getEmbeddable()
           
 Embeddable getEmbeddable(int idx)
           
 int getEmbeddableLength()
           
 Entity[] getEntity()
           
 Entity getEntity(int idx)
           
 int getEntityLength()
           
 MappedSuperclass[] getMappedSuperclass()
           
 MappedSuperclass getMappedSuperclass(int idx)
           
 int getMappedSuperclassLength()
           
 NamedNativeQuery[] getNamedNativeQuery()
           
 NamedNativeQuery getNamedNativeQuery(int idx)
           
 int getNamedNativeQueryLength()
           
 NamedQuery[] getNamedQuery()
           
 NamedQuery getNamedQuery(int idx)
           
 int getNamedQueryLength()
           
 String getPackage()
          Gets the value of the package property.
 PersistenceUnitMetadata getPersistenceUnitMetadata()
          Gets the value of the persistenceUnitMetadata property.
 String getSchema()
          Gets the value of the schema property.
 SequenceGenerator[] getSequenceGenerator()
           
 SequenceGenerator getSequenceGenerator(int idx)
           
 int getSequenceGeneratorLength()
           
 SqlResultSetMapping[] getSqlResultSetMapping()
           
 SqlResultSetMapping getSqlResultSetMapping(int idx)
           
 int getSqlResultSetMappingLength()
           
 TableGenerator[] getTableGenerator()
           
 TableGenerator getTableGenerator(int idx)
           
 int getTableGeneratorLength()
           
 String getVersion()
          Gets the value of the version property.
 void setAccess(AccessType value)
          Sets the value of the access property.
 void setCatalog(String value)
          Sets the value of the catalog property.
 void setDescription(String value)
          Sets the value of the description property.
 void setEmbeddable(Embeddable[] values)
           
 Embeddable setEmbeddable(int idx, Embeddable value)
           
 void setEntity(Entity[] values)
           
 Entity setEntity(int idx, Entity value)
           
 MappedSuperclass setMappedSuperclass(int idx, MappedSuperclass value)
           
 void setMappedSuperclass(MappedSuperclass[] values)
           
 NamedNativeQuery setNamedNativeQuery(int idx, NamedNativeQuery value)
           
 void setNamedNativeQuery(NamedNativeQuery[] values)
           
 NamedQuery setNamedQuery(int idx, NamedQuery value)
           
 void setNamedQuery(NamedQuery[] values)
           
 void setPackage(String value)
          Sets the value of the package property.
 void setPersistenceUnitMetadata(PersistenceUnitMetadata value)
          Sets the value of the persistenceUnitMetadata property.
 void setSchema(String value)
          Sets the value of the schema property.
 SequenceGenerator setSequenceGenerator(int idx, SequenceGenerator value)
           
 void setSequenceGenerator(SequenceGenerator[] values)
           
 SqlResultSetMapping setSqlResultSetMapping(int idx, SqlResultSetMapping value)
           
 void setSqlResultSetMapping(SqlResultSetMapping[] values)
           
 TableGenerator setTableGenerator(int idx, TableGenerator value)
           
 void setTableGenerator(TableGenerator[] values)
           
 void setVersion(String value)
          Sets the value of the version property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected String description

persistenceUnitMetadata

protected PersistenceUnitMetadataImpl persistenceUnitMetadata

_package

protected String _package

schema

protected String schema

catalog

protected String catalog

access

protected AccessType access

sequenceGenerator

protected SequenceGenerator[] sequenceGenerator

tableGenerator

protected TableGenerator[] tableGenerator

namedQuery

protected NamedQuery[] namedQuery

namedNativeQuery

protected NamedNativeQuery[] namedNativeQuery

sqlResultSetMapping

protected SqlResultSetMapping[] sqlResultSetMapping

mappedSuperclass

protected MappedSuperclass[] mappedSuperclass

entity

protected Entity[] entity

embeddable

protected Embeddable[] embeddable

version

protected String version
Constructor Detail

EntityMappingsImpl

public EntityMappingsImpl()
Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.novalueclass.persistence.orm.impl.EntityMappingsImpl instance.


EntityMappingsImpl

public EntityMappingsImpl(EntityMappingsImpl o)
Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.novalueclass.persistence.orm.impl.EntityMappingsImpl instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getDescription

public String getDescription()
Description copied from interface: EntityMappings
Gets the value of the description property.

Specified by:
getDescription in interface EntityMappings
Returns:
possible object is String

setDescription

public void setDescription(String value)
Description copied from interface: EntityMappings
Sets the value of the description property.

Specified by:
setDescription in interface EntityMappings
Parameters:
value - allowed object is String

getPersistenceUnitMetadata

public PersistenceUnitMetadata getPersistenceUnitMetadata()
Description copied from interface: EntityMappings
Gets the value of the persistenceUnitMetadata property.

Specified by:
getPersistenceUnitMetadata in interface EntityMappings
Returns:
possible object is PersistenceUnitMetadata

setPersistenceUnitMetadata

public void setPersistenceUnitMetadata(PersistenceUnitMetadata value)
Description copied from interface: EntityMappings
Sets the value of the persistenceUnitMetadata property.

Specified by:
setPersistenceUnitMetadata in interface EntityMappings
Parameters:
value - allowed object is PersistenceUnitMetadata

getPackage

public String getPackage()
Description copied from interface: EntityMappings
Gets the value of the package property.

Specified by:
getPackage in interface EntityMappings
Returns:
possible object is String

setPackage

public void setPackage(String value)
Description copied from interface: EntityMappings
Sets the value of the package property.

Specified by:
setPackage in interface EntityMappings
Parameters:
value - allowed object is String

getSchema

public String getSchema()
Description copied from interface: EntityMappings
Gets the value of the schema property.

Specified by:
getSchema in interface EntityMappings
Returns:
possible object is String

setSchema

public void setSchema(String value)
Description copied from interface: EntityMappings
Sets the value of the schema property.

Specified by:
setSchema in interface EntityMappings
Parameters:
value - allowed object is String

getCatalog

public String getCatalog()
Description copied from interface: EntityMappings
Gets the value of the catalog property.

Specified by:
getCatalog in interface EntityMappings
Returns:
possible object is String

setCatalog

public void setCatalog(String value)
Description copied from interface: EntityMappings
Sets the value of the catalog property.

Specified by:
setCatalog in interface EntityMappings
Parameters:
value - allowed object is String

getAccess

public AccessType getAccess()
Description copied from interface: EntityMappings
Gets the value of the access property.

Specified by:
getAccess in interface EntityMappings
Returns:
possible object is AccessType

setAccess

public void setAccess(AccessType value)
Description copied from interface: EntityMappings
Sets the value of the access property.

Specified by:
setAccess in interface EntityMappings
Parameters:
value - allowed object is AccessType

getSequenceGenerator

public SequenceGenerator[] getSequenceGenerator()
Specified by:
getSequenceGenerator in interface EntityMappings
Returns:
array of SequenceGenerator

getSequenceGenerator

public SequenceGenerator getSequenceGenerator(int idx)
Specified by:
getSequenceGenerator in interface EntityMappings
Returns:
one of SequenceGenerator

getSequenceGeneratorLength

public int getSequenceGeneratorLength()
Specified by:
getSequenceGeneratorLength in interface EntityMappings

setSequenceGenerator

public void setSequenceGenerator(SequenceGenerator[] values)
Specified by:
setSequenceGenerator in interface EntityMappings
Parameters:
values - allowed objects are SequenceGenerator

setSequenceGenerator

public SequenceGenerator setSequenceGenerator(int idx,
                                              SequenceGenerator value)
Specified by:
setSequenceGenerator in interface EntityMappings
value - allowed object is SequenceGenerator

getTableGenerator

public TableGenerator[] getTableGenerator()
Specified by:
getTableGenerator in interface EntityMappings
Returns:
array of TableGenerator

getTableGenerator

public TableGenerator getTableGenerator(int idx)
Specified by:
getTableGenerator in interface EntityMappings
Returns:
one of TableGenerator

getTableGeneratorLength

public int getTableGeneratorLength()
Specified by:
getTableGeneratorLength in interface EntityMappings

setTableGenerator

public void setTableGenerator(TableGenerator[] values)
Specified by:
setTableGenerator in interface EntityMappings
Parameters:
values - allowed objects are TableGenerator

setTableGenerator

public TableGenerator setTableGenerator(int idx,
                                        TableGenerator value)
Specified by:
setTableGenerator in interface EntityMappings
value - allowed object is TableGenerator

getNamedQuery

public NamedQuery[] getNamedQuery()
Specified by:
getNamedQuery in interface EntityMappings
Returns:
array of NamedQuery

getNamedQuery

public NamedQuery getNamedQuery(int idx)
Specified by:
getNamedQuery in interface EntityMappings
Returns:
one of NamedQuery

getNamedQueryLength

public int getNamedQueryLength()
Specified by:
getNamedQueryLength in interface EntityMappings

setNamedQuery

public void setNamedQuery(NamedQuery[] values)
Specified by:
setNamedQuery in interface EntityMappings
Parameters:
values - allowed objects are NamedQuery

setNamedQuery

public NamedQuery setNamedQuery(int idx,
                                NamedQuery value)
Specified by:
setNamedQuery in interface EntityMappings
value - allowed object is NamedQuery

getNamedNativeQuery

public NamedNativeQuery[] getNamedNativeQuery()
Specified by:
getNamedNativeQuery in interface EntityMappings
Returns:
array of NamedNativeQuery

getNamedNativeQuery

public NamedNativeQuery getNamedNativeQuery(int idx)
Specified by:
getNamedNativeQuery in interface EntityMappings
Returns:
one of NamedNativeQuery

getNamedNativeQueryLength

public int getNamedNativeQueryLength()
Specified by:
getNamedNativeQueryLength in interface EntityMappings

setNamedNativeQuery

public void setNamedNativeQuery(NamedNativeQuery[] values)
Specified by:
setNamedNativeQuery in interface EntityMappings
Parameters:
values - allowed objects are NamedNativeQuery

setNamedNativeQuery

public NamedNativeQuery setNamedNativeQuery(int idx,
                                            NamedNativeQuery value)
Specified by:
setNamedNativeQuery in interface EntityMappings
value - allowed object is NamedNativeQuery

getSqlResultSetMapping

public SqlResultSetMapping[] getSqlResultSetMapping()
Specified by:
getSqlResultSetMapping in interface EntityMappings
Returns:
array of SqlResultSetMapping

getSqlResultSetMapping

public SqlResultSetMapping getSqlResultSetMapping(int idx)
Specified by:
getSqlResultSetMapping in interface EntityMappings
Returns:
one of SqlResultSetMapping

getSqlResultSetMappingLength

public int getSqlResultSetMappingLength()
Specified by:
getSqlResultSetMappingLength in interface EntityMappings

setSqlResultSetMapping

public void setSqlResultSetMapping(SqlResultSetMapping[] values)
Specified by:
setSqlResultSetMapping in interface EntityMappings
Parameters:
values - allowed objects are SqlResultSetMapping

setSqlResultSetMapping

public SqlResultSetMapping setSqlResultSetMapping(int idx,
                                                  SqlResultSetMapping value)
Specified by:
setSqlResultSetMapping in interface EntityMappings
value - allowed object is SqlResultSetMapping

getMappedSuperclass

public MappedSuperclass[] getMappedSuperclass()
Specified by:
getMappedSuperclass in interface EntityMappings
Returns:
array of MappedSuperclass

getMappedSuperclass

public MappedSuperclass getMappedSuperclass(int idx)
Specified by:
getMappedSuperclass in interface EntityMappings
Returns:
one of MappedSuperclass

getMappedSuperclassLength

public int getMappedSuperclassLength()
Specified by:
getMappedSuperclassLength in interface EntityMappings

setMappedSuperclass

public void setMappedSuperclass(MappedSuperclass[] values)
Specified by:
setMappedSuperclass in interface EntityMappings
Parameters:
values - allowed objects are MappedSuperclass

setMappedSuperclass

public MappedSuperclass setMappedSuperclass(int idx,
                                            MappedSuperclass value)
Specified by:
setMappedSuperclass in interface EntityMappings
value - allowed object is MappedSuperclass

getEntity

public Entity[] getEntity()
Specified by:
getEntity in interface EntityMappings
Returns:
array of Entity

getEntity

public Entity getEntity(int idx)
Specified by:
getEntity in interface EntityMappings
Returns:
one of Entity

getEntityLength

public int getEntityLength()
Specified by:
getEntityLength in interface EntityMappings

setEntity

public void setEntity(Entity[] values)
Specified by:
setEntity in interface EntityMappings
Parameters:
values - allowed objects are Entity

setEntity

public Entity setEntity(int idx,
                        Entity value)
Specified by:
setEntity in interface EntityMappings
value - allowed object is Entity

getEmbeddable

public Embeddable[] getEmbeddable()
Specified by:
getEmbeddable in interface EntityMappings
Returns:
array of Embeddable

getEmbeddable

public Embeddable getEmbeddable(int idx)
Specified by:
getEmbeddable in interface EntityMappings
Returns:
one of Embeddable

getEmbeddableLength

public int getEmbeddableLength()
Specified by:
getEmbeddableLength in interface EntityMappings

setEmbeddable

public void setEmbeddable(Embeddable[] values)
Specified by:
setEmbeddable in interface EntityMappings
Parameters:
values - allowed objects are Embeddable

setEmbeddable

public Embeddable setEmbeddable(int idx,
                                Embeddable value)
Specified by:
setEmbeddable in interface EntityMappings
value - allowed object is Embeddable

getVersion

public String getVersion()
Description copied from interface: EntityMappings
Gets the value of the version property.

Specified by:
getVersion in interface EntityMappings
Returns:
possible object is String

setVersion

public void setVersion(String value)
Description copied from interface: EntityMappings
Sets the value of the version property.

Specified by:
setVersion in interface EntityMappings
Parameters:
value - allowed object is String

clone

public EntityMappingsImpl clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.