net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.persistence.orm.impl
Class EntityMappingsImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.collections.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  List<Embeddable> embeddable
           
protected  List<Entity> entity
           
protected  List<MappedSuperclass> mappedSuperclass
           
protected  List<NamedNativeQuery> namedNativeQuery
           
protected  List<NamedQuery> namedQuery
           
protected  PersistenceUnitMetadataImpl persistenceUnitMetadata
           
protected  String schema
           
protected  List<SequenceGenerator> sequenceGenerator
           
protected  List<SqlResultSetMapping> sqlResultSetMapping
           
protected  List<TableGenerator> tableGenerator
           
protected  String version
           
 
Constructor Summary
EntityMappingsImpl()
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.persistence.orm.impl.EntityMappingsImpl instance.
EntityMappingsImpl(EntityMappingsImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.persistence.orm.impl.EntityMappingsImpl instance by copying a given instance.
 
Method Summary
 EntityMappingsImpl clone()
          Creates and returns a copy of this object.
protected static void copyEmbeddable(List<Embeddable> source, List<Embeddable> target)
          Copies all values of property Embeddable.
protected static void copyEntity(List<Entity> source, List<Entity> target)
          Copies all values of property Entity.
protected static void copyMappedSuperclass(List<MappedSuperclass> source, List<MappedSuperclass> target)
          Copies all values of property MappedSuperclass.
protected static void copyNamedNativeQuery(List<NamedNativeQuery> source, List<NamedNativeQuery> target)
          Copies all values of property NamedNativeQuery.
protected static void copyNamedQuery(List<NamedQuery> source, List<NamedQuery> target)
          Copies all values of property NamedQuery.
protected static void copySequenceGenerator(List<SequenceGenerator> source, List<SequenceGenerator> target)
          Copies all values of property SequenceGenerator.
protected static void copySqlResultSetMapping(List<SqlResultSetMapping> source, List<SqlResultSetMapping> target)
          Copies all values of property SqlResultSetMapping.
protected static void copyTableGenerator(List<TableGenerator> source, List<TableGenerator> target)
          Copies all values of property TableGenerator.
 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.
 List<Embeddable> getEmbeddable()
          Gets the value of the embeddable property.
 List<Entity> getEntity()
          Gets the value of the entity property.
 List<MappedSuperclass> getMappedSuperclass()
          Gets the value of the mappedSuperclass property.
 List<NamedNativeQuery> getNamedNativeQuery()
          Gets the value of the namedNativeQuery property.
 List<NamedQuery> getNamedQuery()
          Gets the value of the namedQuery property.
 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.
 List<SequenceGenerator> getSequenceGenerator()
          Gets the value of the sequenceGenerator property.
 List<SqlResultSetMapping> getSqlResultSetMapping()
          Gets the value of the sqlResultSetMapping property.
 List<TableGenerator> getTableGenerator()
          Gets the value of the tableGenerator property.
 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 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.
 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 List<SequenceGenerator> sequenceGenerator

tableGenerator

protected List<TableGenerator> tableGenerator

namedQuery

protected List<NamedQuery> namedQuery

namedNativeQuery

protected List<NamedNativeQuery> namedNativeQuery

sqlResultSetMapping

protected List<SqlResultSetMapping> sqlResultSetMapping

mappedSuperclass

protected List<MappedSuperclass> mappedSuperclass

entity

protected List<Entity> entity

embeddable

protected List<Embeddable> embeddable

version

protected String version
Constructor Detail

EntityMappingsImpl

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


EntityMappingsImpl

public EntityMappingsImpl(EntityMappingsImpl o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.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 List<SequenceGenerator> getSequenceGenerator()
Description copied from interface: EntityMappings
Gets the value of the sequenceGenerator property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the sequenceGenerator property.

For example, to add a new item, do as follows:

    getSequenceGenerator().add(newItem);
 

Objects of the following type(s) are allowed in the list SequenceGenerator

Specified by:
getSequenceGenerator in interface EntityMappings

getTableGenerator

public List<TableGenerator> getTableGenerator()
Description copied from interface: EntityMappings
Gets the value of the tableGenerator property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the tableGenerator property.

For example, to add a new item, do as follows:

    getTableGenerator().add(newItem);
 

Objects of the following type(s) are allowed in the list TableGenerator

Specified by:
getTableGenerator in interface EntityMappings

getNamedQuery

public List<NamedQuery> getNamedQuery()
Description copied from interface: EntityMappings
Gets the value of the namedQuery property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the namedQuery property.

For example, to add a new item, do as follows:

    getNamedQuery().add(newItem);
 

Objects of the following type(s) are allowed in the list NamedQuery

Specified by:
getNamedQuery in interface EntityMappings

getNamedNativeQuery

public List<NamedNativeQuery> getNamedNativeQuery()
Description copied from interface: EntityMappings
Gets the value of the namedNativeQuery property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the namedNativeQuery property.

For example, to add a new item, do as follows:

    getNamedNativeQuery().add(newItem);
 

Objects of the following type(s) are allowed in the list NamedNativeQuery

Specified by:
getNamedNativeQuery in interface EntityMappings

getSqlResultSetMapping

public List<SqlResultSetMapping> getSqlResultSetMapping()
Description copied from interface: EntityMappings
Gets the value of the sqlResultSetMapping property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the sqlResultSetMapping property.

For example, to add a new item, do as follows:

    getSqlResultSetMapping().add(newItem);
 

Objects of the following type(s) are allowed in the list SqlResultSetMapping

Specified by:
getSqlResultSetMapping in interface EntityMappings

getMappedSuperclass

public List<MappedSuperclass> getMappedSuperclass()
Description copied from interface: EntityMappings
Gets the value of the mappedSuperclass property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the mappedSuperclass property.

For example, to add a new item, do as follows:

    getMappedSuperclass().add(newItem);
 

Objects of the following type(s) are allowed in the list MappedSuperclass

Specified by:
getMappedSuperclass in interface EntityMappings

getEntity

public List<Entity> getEntity()
Description copied from interface: EntityMappings
Gets the value of the entity property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the entity property.

For example, to add a new item, do as follows:

    getEntity().add(newItem);
 

Objects of the following type(s) are allowed in the list Entity

Specified by:
getEntity in interface EntityMappings

getEmbeddable

public List<Embeddable> getEmbeddable()
Description copied from interface: EntityMappings
Gets the value of the embeddable property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the embeddable property.

For example, to add a new item, do as follows:

    getEmbeddable().add(newItem);
 

Objects of the following type(s) are allowed in the list Embeddable

Specified by:
getEmbeddable in interface EntityMappings

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

copySequenceGenerator

protected static void copySequenceGenerator(List<SequenceGenerator> source,
                                            List<SequenceGenerator> target)
Copies all values of property SequenceGenerator.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copyTableGenerator

protected static void copyTableGenerator(List<TableGenerator> source,
                                         List<TableGenerator> target)
Copies all values of property TableGenerator.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copyNamedQuery

protected static void copyNamedQuery(List<NamedQuery> source,
                                     List<NamedQuery> target)
Copies all values of property NamedQuery.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copyNamedNativeQuery

protected static void copyNamedNativeQuery(List<NamedNativeQuery> source,
                                           List<NamedNativeQuery> target)
Copies all values of property NamedNativeQuery.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copySqlResultSetMapping

protected static void copySqlResultSetMapping(List<SqlResultSetMapping> source,
                                              List<SqlResultSetMapping> target)
Copies all values of property SqlResultSetMapping.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copyMappedSuperclass

protected static void copyMappedSuperclass(List<MappedSuperclass> source,
                                           List<MappedSuperclass> target)
Copies all values of property MappedSuperclass.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copyEntity

protected static void copyEntity(List<Entity> source,
                                 List<Entity> target)
Copies all values of property Entity.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copyEmbeddable

protected static void copyEmbeddable(List<Embeddable> source,
                                     List<Embeddable> target)
Copies all values of property Embeddable.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

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.