net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.javaee.impl
Class PersistenceUnitRefTypeImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.javaee.impl.PersistenceUnitRefTypeImpl
All Implemented Interfaces:
Serializable, Cloneable, PersistenceUnitRefType

public class PersistenceUnitRefTypeImpl
extends Object
implements Serializable, Cloneable, PersistenceUnitRefType

See Also:
Serialized Form

Field Summary
protected  DescriptionType[] description
           
protected  String id
           
protected  InjectionTargetType[] injectionTarget
           
protected  XsdStringTypeImpl mappedName
           
protected  StringImpl persistenceUnitName
           
protected  JndiNameTypeImpl persistenceUnitRefName
           
 
Constructor Summary
PersistenceUnitRefTypeImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.javaee.impl.PersistenceUnitRefTypeImpl instance.
PersistenceUnitRefTypeImpl(PersistenceUnitRefTypeImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.javaee.impl.PersistenceUnitRefTypeImpl instance by copying a given instance.
 
Method Summary
 PersistenceUnitRefTypeImpl clone()
          Creates and returns a copy of this object.
 void copyDescription(DescriptionType[] source)
          Copies all values of property Description.
 void copyInjectionTarget(InjectionTargetType[] source)
          Copies all values of property InjectionTarget.
 DescriptionType[] getDescription()
           
 DescriptionType getDescription(int idx)
           
 int getDescriptionLength()
           
 String getId()
          Gets the value of the id property.
 InjectionTargetType[] getInjectionTarget()
           
 InjectionTargetType getInjectionTarget(int idx)
           
 int getInjectionTargetLength()
           
 XsdStringType getMappedName()
          Gets the value of the mappedName property.
 String getPersistenceUnitName()
          Gets the value of the persistenceUnitName property.
 JndiNameType getPersistenceUnitRefName()
          Gets the value of the persistenceUnitRefName property.
 void setDescription(DescriptionType[] values)
           
 DescriptionType setDescription(int idx, DescriptionType value)
           
 void setId(String value)
          Sets the value of the id property.
 void setInjectionTarget(InjectionTargetType[] values)
           
 InjectionTargetType setInjectionTarget(int idx, InjectionTargetType value)
           
 void setMappedName(XsdStringType value)
          Sets the value of the mappedName property.
 void setPersistenceUnitName(String value)
          Sets the value of the persistenceUnitName property.
 void setPersistenceUnitRefName(JndiNameType value)
          Sets the value of the persistenceUnitRefName property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected DescriptionType[] description

persistenceUnitRefName

protected JndiNameTypeImpl persistenceUnitRefName

persistenceUnitName

protected StringImpl persistenceUnitName

mappedName

protected XsdStringTypeImpl mappedName

injectionTarget

protected InjectionTargetType[] injectionTarget

id

protected String id
Constructor Detail

PersistenceUnitRefTypeImpl

public PersistenceUnitRefTypeImpl()
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.javaee.impl.PersistenceUnitRefTypeImpl instance.


PersistenceUnitRefTypeImpl

public PersistenceUnitRefTypeImpl(PersistenceUnitRefTypeImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.novalueclass.javaee.impl.PersistenceUnitRefTypeImpl instance by copying a given instance.

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

getDescription

public DescriptionType[] getDescription()
Specified by:
getDescription in interface PersistenceUnitRefType
Returns:
array of DescriptionType

getDescription

public DescriptionType getDescription(int idx)
Specified by:
getDescription in interface PersistenceUnitRefType
Returns:
one of DescriptionType

getDescriptionLength

public int getDescriptionLength()
Specified by:
getDescriptionLength in interface PersistenceUnitRefType

setDescription

public void setDescription(DescriptionType[] values)
Specified by:
setDescription in interface PersistenceUnitRefType
Parameters:
values - allowed objects are DescriptionType

setDescription

public DescriptionType setDescription(int idx,
                                      DescriptionType value)
Specified by:
setDescription in interface PersistenceUnitRefType
value - allowed object is DescriptionType

getPersistenceUnitRefName

public JndiNameType getPersistenceUnitRefName()
Description copied from interface: PersistenceUnitRefType
Gets the value of the persistenceUnitRefName property.

Specified by:
getPersistenceUnitRefName in interface PersistenceUnitRefType
Returns:
possible object is JndiNameType

setPersistenceUnitRefName

public void setPersistenceUnitRefName(JndiNameType value)
Description copied from interface: PersistenceUnitRefType
Sets the value of the persistenceUnitRefName property.

Specified by:
setPersistenceUnitRefName in interface PersistenceUnitRefType
Parameters:
value - allowed object is JndiNameType

getPersistenceUnitName

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

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

setPersistenceUnitName

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

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

getMappedName

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

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

setMappedName

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

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

getInjectionTarget

public InjectionTargetType[] getInjectionTarget()
Specified by:
getInjectionTarget in interface PersistenceUnitRefType
Returns:
array of InjectionTargetType

getInjectionTarget

public InjectionTargetType getInjectionTarget(int idx)
Specified by:
getInjectionTarget in interface PersistenceUnitRefType
Returns:
one of InjectionTargetType

getInjectionTargetLength

public int getInjectionTargetLength()
Specified by:
getInjectionTargetLength in interface PersistenceUnitRefType

setInjectionTarget

public void setInjectionTarget(InjectionTargetType[] values)
Specified by:
setInjectionTarget in interface PersistenceUnitRefType
Parameters:
values - allowed objects are InjectionTargetType

setInjectionTarget

public InjectionTargetType setInjectionTarget(int idx,
                                              InjectionTargetType value)
Specified by:
setInjectionTarget in interface PersistenceUnitRefType
value - allowed object is InjectionTargetType

getId

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

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

setId

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

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

copyDescription

public void copyDescription(DescriptionType[] source)
Copies all values of property Description.

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

copyInjectionTarget

public void copyInjectionTarget(InjectionTargetType[] source)
Copies all values of property InjectionTarget.

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

clone

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