net.sourceforge.jpaxjc.ns.persistence.orm
Class Embeddable

java.lang.Object
  extended by net.sourceforge.jpaxjc.ns.persistence.orm.Embeddable
All Implemented Interfaces:
Cloneable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class Embeddable
extends Object
implements Cloneable

Defines the settings and mappings for embeddable objects. Is allowed to be sparsely populated and used in conjunction with the annotations. Alternatively, the metadata-complete attribute can be used to indicate that no annotations are to be processed in the class. If this is the case then the defaulting rules will be recursively applied.


Field Summary
protected  AccessType access
           
protected  EmbeddableAttributes attributes
           
protected  String clazz
           
protected  String description
           
protected  Boolean metadataComplete
           
 
Constructor Summary
Embeddable()
          Creates a new Embeddable instance.
Embeddable(Embeddable o)
          Creates a new Embeddable instance by deeply copying a given Embeddable instance.
 
Method Summary
 Embeddable clone()
          Creates and returns a deep copy of this object.
 AccessType getAccess()
          Gets the value of the access property.
 EmbeddableAttributes getAttributes()
          Gets the value of the attributes property.
 String getClazz()
          Gets the value of the clazz property.
 String getDescription()
          Gets the value of the description property.
 Boolean isMetadataComplete()
          Gets the value of the metadataComplete property.
 void setAccess(AccessType value)
          Sets the value of the access property.
 void setAttributes(EmbeddableAttributes value)
          Sets the value of the attributes property.
 void setClazz(String value)
          Sets the value of the clazz property.
 void setDescription(String value)
          Sets the value of the description property.
 void setMetadataComplete(Boolean value)
          Sets the value of the metadataComplete property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String description

attributes

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected EmbeddableAttributes attributes

clazz

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String clazz

access

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected AccessType access

metadataComplete

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected Boolean metadataComplete
Constructor Detail

Embeddable

public Embeddable()
Creates a new Embeddable instance.


Embeddable

public Embeddable(Embeddable o)
Creates a new Embeddable instance by deeply copying a given Embeddable instance.

Parameters:
o - The instance to copy.
Throws:
NullPointerException - if o is null.
Method Detail

getDescription

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getAttributes

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public EmbeddableAttributes getAttributes()
Gets the value of the attributes property.

Returns:
possible object is EmbeddableAttributes

setAttributes

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setAttributes(EmbeddableAttributes value)
Sets the value of the attributes property.

Parameters:
value - allowed object is EmbeddableAttributes

getClazz

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getClazz()
Gets the value of the clazz property.

Returns:
possible object is String

setClazz

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setClazz(String value)
Sets the value of the clazz property.

Parameters:
value - allowed object is String

getAccess

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public AccessType getAccess()
Gets the value of the access property.

Returns:
possible object is AccessType

setAccess

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setAccess(AccessType value)
Sets the value of the access property.

Parameters:
value - allowed object is AccessType

isMetadataComplete

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Boolean isMetadataComplete()
Gets the value of the metadataComplete property.

Returns:
possible object is Boolean

setMetadataComplete

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setMetadataComplete(Boolean value)
Sets the value of the metadataComplete property.

Parameters:
value - allowed object is Boolean

clone

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-08-18T10:46:56+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Embeddable clone()
Creates and returns a deep copy of this object.

Overrides:
clone in class Object
Returns:
A deep copy of this object.


Copyright © 2009-2010 The JPA-XJC Community. All Rights Reserved.