net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.javaee.impl
Class PersistenceContextRefTypeImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.javaee.impl.PersistenceContextRefTypeImpl
All Implemented Interfaces:
Serializable, Cloneable, PersistenceContextRefType

public class PersistenceContextRefTypeImpl
extends Object
implements Serializable, Cloneable, PersistenceContextRefType

See Also:
Serialized Form

Field Summary
protected  List<DescriptionType> description
           
protected  String id
           
protected  List<InjectionTargetType> injectionTarget
           
protected  XsdStringTypeImpl mappedName
           
protected  JndiNameTypeImpl persistenceContextRefName
           
protected  PersistenceContextTypeTypeImpl persistenceContextType
           
protected  List<PropertyType> persistenceProperty
           
protected  StringImpl persistenceUnitName
           
 
Constructor Summary
PersistenceContextRefTypeImpl()
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.javaee.impl.PersistenceContextRefTypeImpl instance.
PersistenceContextRefTypeImpl(PersistenceContextRefTypeImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.javaee.impl.PersistenceContextRefTypeImpl instance by copying a given instance.
 
Method Summary
 PersistenceContextRefTypeImpl clone()
          Creates and returns a copy of this object.
protected static void copyDescription(List<DescriptionType> source, List<DescriptionType> target)
          Copies all values of property Description.
protected static void copyInjectionTarget(List<InjectionTargetType> source, List<InjectionTargetType> target)
          Copies all values of property InjectionTarget.
protected static void copyPersistenceProperty(List<PropertyType> source, List<PropertyType> target)
          Copies all values of property PersistenceProperty.
 List<DescriptionType> getDescription()
          Gets the value of the description property.
 String getId()
          Gets the value of the id property.
 List<InjectionTargetType> getInjectionTarget()
          Gets the value of the injectionTarget property.
 XsdStringType getMappedName()
          Gets the value of the mappedName property.
 JndiNameType getPersistenceContextRefName()
          Gets the value of the persistenceContextRefName property.
 PersistenceContextTypeType getPersistenceContextType()
          Gets the value of the persistenceContextType property.
 List<PropertyType> getPersistenceProperty()
          Gets the value of the persistenceProperty property.
 String getPersistenceUnitName()
          Gets the value of the persistenceUnitName property.
 void setId(String value)
          Sets the value of the id property.
 void setMappedName(XsdStringType value)
          Sets the value of the mappedName property.
 void setPersistenceContextRefName(JndiNameType value)
          Sets the value of the persistenceContextRefName property.
 void setPersistenceContextType(PersistenceContextTypeType value)
          Sets the value of the persistenceContextType property.
 void setPersistenceUnitName(String value)
          Sets the value of the persistenceUnitName property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected List<DescriptionType> description

persistenceContextRefName

protected JndiNameTypeImpl persistenceContextRefName

persistenceUnitName

protected StringImpl persistenceUnitName

persistenceContextType

protected PersistenceContextTypeTypeImpl persistenceContextType

persistenceProperty

protected List<PropertyType> persistenceProperty

mappedName

protected XsdStringTypeImpl mappedName

injectionTarget

protected List<InjectionTargetType> injectionTarget

id

protected String id
Constructor Detail

PersistenceContextRefTypeImpl

public PersistenceContextRefTypeImpl()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.javaee.impl.PersistenceContextRefTypeImpl instance.


PersistenceContextRefTypeImpl

public PersistenceContextRefTypeImpl(PersistenceContextRefTypeImpl o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.javaee.impl.PersistenceContextRefTypeImpl instance by copying a given instance.

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

getDescription

public List<DescriptionType> getDescription()
Description copied from interface: PersistenceContextRefType
Gets the value of the description 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 description property.

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

    getDescription().add(newItem);
 

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

Specified by:
getDescription in interface PersistenceContextRefType

getPersistenceContextRefName

public JndiNameType getPersistenceContextRefName()
Description copied from interface: PersistenceContextRefType
Gets the value of the persistenceContextRefName property.

Specified by:
getPersistenceContextRefName in interface PersistenceContextRefType
Returns:
possible object is JndiNameType

setPersistenceContextRefName

public void setPersistenceContextRefName(JndiNameType value)
Description copied from interface: PersistenceContextRefType
Sets the value of the persistenceContextRefName property.

Specified by:
setPersistenceContextRefName in interface PersistenceContextRefType
Parameters:
value - allowed object is JndiNameType

getPersistenceUnitName

public String getPersistenceUnitName()
Description copied from interface: PersistenceContextRefType
Gets the value of the persistenceUnitName property.

Specified by:
getPersistenceUnitName in interface PersistenceContextRefType
Returns:
possible object is String

setPersistenceUnitName

public void setPersistenceUnitName(String value)
Description copied from interface: PersistenceContextRefType
Sets the value of the persistenceUnitName property.

Specified by:
setPersistenceUnitName in interface PersistenceContextRefType
Parameters:
value - allowed object is String

getPersistenceContextType

public PersistenceContextTypeType getPersistenceContextType()
Description copied from interface: PersistenceContextRefType
Gets the value of the persistenceContextType property.

Specified by:
getPersistenceContextType in interface PersistenceContextRefType
Returns:
possible object is PersistenceContextTypeType

setPersistenceContextType

public void setPersistenceContextType(PersistenceContextTypeType value)
Description copied from interface: PersistenceContextRefType
Sets the value of the persistenceContextType property.

Specified by:
setPersistenceContextType in interface PersistenceContextRefType
Parameters:
value - allowed object is PersistenceContextTypeType

getPersistenceProperty

public List<PropertyType> getPersistenceProperty()
Description copied from interface: PersistenceContextRefType
Gets the value of the persistenceProperty 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 persistenceProperty property.

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

    getPersistenceProperty().add(newItem);
 

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

Specified by:
getPersistenceProperty in interface PersistenceContextRefType

getMappedName

public XsdStringType getMappedName()
Description copied from interface: PersistenceContextRefType
Gets the value of the mappedName property.

Specified by:
getMappedName in interface PersistenceContextRefType
Returns:
possible object is XsdStringType

setMappedName

public void setMappedName(XsdStringType value)
Description copied from interface: PersistenceContextRefType
Sets the value of the mappedName property.

Specified by:
setMappedName in interface PersistenceContextRefType
Parameters:
value - allowed object is XsdStringType

getInjectionTarget

public List<InjectionTargetType> getInjectionTarget()
Description copied from interface: PersistenceContextRefType
Gets the value of the injectionTarget 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 injectionTarget property.

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

    getInjectionTarget().add(newItem);
 

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

Specified by:
getInjectionTarget in interface PersistenceContextRefType

getId

public String getId()
Description copied from interface: PersistenceContextRefType
Gets the value of the id property.

Specified by:
getId in interface PersistenceContextRefType
Returns:
possible object is String

setId

public void setId(String value)
Description copied from interface: PersistenceContextRefType
Sets the value of the id property.

Specified by:
setId in interface PersistenceContextRefType
Parameters:
value - allowed object is String

copyDescription

protected static void copyDescription(List<DescriptionType> source,
                                      List<DescriptionType> target)
Copies all values of property Description.

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

copyPersistenceProperty

protected static void copyPersistenceProperty(List<PropertyType> source,
                                              List<PropertyType> target)
Copies all values of property PersistenceProperty.

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

copyInjectionTarget

protected static void copyInjectionTarget(List<InjectionTargetType> source,
                                          List<InjectionTargetType> target)
Copies all values of property InjectionTarget.

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

clone

public PersistenceContextRefTypeImpl 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.