net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.persistence.orm
Interface Attributes

All Known Implementing Classes:
AttributesImpl

public interface Attributes

This element contains the entity field or property mappings. It may be sparsely populated to include only a subset of the fields or properties. If metadata-complete for the entity is true then the remainder of the attributes will be defaulted according to the default rules.

Java class for attributes complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="attributes">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice>
           <element name="id" type="{http://java.sun.com/xml/ns/persistence/orm}id" maxOccurs="unbounded" minOccurs="0"/>
           <element name="embedded-id" type="{http://java.sun.com/xml/ns/persistence/orm}embedded-id" minOccurs="0"/>
         </choice>
         <element name="basic" type="{http://java.sun.com/xml/ns/persistence/orm}basic" maxOccurs="unbounded" minOccurs="0"/>
         <element name="version" type="{http://java.sun.com/xml/ns/persistence/orm}version" maxOccurs="unbounded" minOccurs="0"/>
         <element name="many-to-one" type="{http://java.sun.com/xml/ns/persistence/orm}many-to-one" maxOccurs="unbounded" minOccurs="0"/>
         <element name="one-to-many" type="{http://java.sun.com/xml/ns/persistence/orm}one-to-many" maxOccurs="unbounded" minOccurs="0"/>
         <element name="one-to-one" type="{http://java.sun.com/xml/ns/persistence/orm}one-to-one" maxOccurs="unbounded" minOccurs="0"/>
         <element name="many-to-many" type="{http://java.sun.com/xml/ns/persistence/orm}many-to-many" maxOccurs="unbounded" minOccurs="0"/>
         <element name="embedded" type="{http://java.sun.com/xml/ns/persistence/orm}embedded" maxOccurs="unbounded" minOccurs="0"/>
         <element name="transient" type="{http://java.sun.com/xml/ns/persistence/orm}transient" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 Basic[] getBasic()
           
 Basic getBasic(int idx)
           
 int getBasicLength()
           
 Embedded[] getEmbedded()
           
 Embedded getEmbedded(int idx)
           
 EmbeddedId getEmbeddedId()
          Gets the value of the embeddedId property.
 int getEmbeddedLength()
           
 Id[] getId()
           
 Id getId(int idx)
           
 int getIdLength()
           
 ManyToMany[] getManyToMany()
           
 ManyToMany getManyToMany(int idx)
           
 int getManyToManyLength()
           
 ManyToOne[] getManyToOne()
           
 ManyToOne getManyToOne(int idx)
           
 int getManyToOneLength()
           
 OneToMany[] getOneToMany()
           
 OneToMany getOneToMany(int idx)
           
 int getOneToManyLength()
           
 OneToOne[] getOneToOne()
           
 OneToOne getOneToOne(int idx)
           
 int getOneToOneLength()
           
 Transient[] getTransient()
           
 Transient getTransient(int idx)
           
 int getTransientLength()
           
 Version[] getVersion()
           
 Version getVersion(int idx)
           
 int getVersionLength()
           
 void setBasic(Basic[] values)
           
 Basic setBasic(int idx, Basic value)
           
 void setEmbedded(Embedded[] values)
           
 Embedded setEmbedded(int idx, Embedded value)
           
 void setEmbeddedId(EmbeddedId value)
          Sets the value of the embeddedId property.
 void setId(Id[] values)
           
 Id setId(int idx, Id value)
           
 ManyToMany setManyToMany(int idx, ManyToMany value)
           
 void setManyToMany(ManyToMany[] values)
           
 ManyToOne setManyToOne(int idx, ManyToOne value)
           
 void setManyToOne(ManyToOne[] values)
           
 OneToMany setOneToMany(int idx, OneToMany value)
           
 void setOneToMany(OneToMany[] values)
           
 OneToOne setOneToOne(int idx, OneToOne value)
           
 void setOneToOne(OneToOne[] values)
           
 Transient setTransient(int idx, Transient value)
           
 void setTransient(Transient[] values)
           
 Version setVersion(int idx, Version value)
           
 void setVersion(Version[] values)
           
 

Method Detail

getId

Id[] getId()
Returns:
array of Id

getId

Id getId(int idx)
Returns:
one of Id

getIdLength

int getIdLength()

setId

void setId(Id[] values)
Parameters:
values - allowed objects are Id

setId

Id setId(int idx,
         Id value)
Parameters:
value - allowed object is Id

getEmbeddedId

EmbeddedId getEmbeddedId()
Gets the value of the embeddedId property.

Returns:
possible object is EmbeddedId

setEmbeddedId

void setEmbeddedId(EmbeddedId value)
Sets the value of the embeddedId property.

Parameters:
value - allowed object is EmbeddedId

getBasic

Basic[] getBasic()
Returns:
array of Basic

getBasic

Basic getBasic(int idx)
Returns:
one of Basic

getBasicLength

int getBasicLength()

setBasic

void setBasic(Basic[] values)
Parameters:
values - allowed objects are Basic

setBasic

Basic setBasic(int idx,
               Basic value)
Parameters:
value - allowed object is Basic

getVersion

Version[] getVersion()
Returns:
array of Version

getVersion

Version getVersion(int idx)
Returns:
one of Version

getVersionLength

int getVersionLength()

setVersion

void setVersion(Version[] values)
Parameters:
values - allowed objects are Version

setVersion

Version setVersion(int idx,
                   Version value)
Parameters:
value - allowed object is Version

getManyToOne

ManyToOne[] getManyToOne()
Returns:
array of ManyToOne

getManyToOne

ManyToOne getManyToOne(int idx)
Returns:
one of ManyToOne

getManyToOneLength

int getManyToOneLength()

setManyToOne

void setManyToOne(ManyToOne[] values)
Parameters:
values - allowed objects are ManyToOne

setManyToOne

ManyToOne setManyToOne(int idx,
                       ManyToOne value)
Parameters:
value - allowed object is ManyToOne

getOneToMany

OneToMany[] getOneToMany()
Returns:
array of OneToMany

getOneToMany

OneToMany getOneToMany(int idx)
Returns:
one of OneToMany

getOneToManyLength

int getOneToManyLength()

setOneToMany

void setOneToMany(OneToMany[] values)
Parameters:
values - allowed objects are OneToMany

setOneToMany

OneToMany setOneToMany(int idx,
                       OneToMany value)
Parameters:
value - allowed object is OneToMany

getOneToOne

OneToOne[] getOneToOne()
Returns:
array of OneToOne

getOneToOne

OneToOne getOneToOne(int idx)
Returns:
one of OneToOne

getOneToOneLength

int getOneToOneLength()

setOneToOne

void setOneToOne(OneToOne[] values)
Parameters:
values - allowed objects are OneToOne

setOneToOne

OneToOne setOneToOne(int idx,
                     OneToOne value)
Parameters:
value - allowed object is OneToOne

getManyToMany

ManyToMany[] getManyToMany()
Returns:
array of ManyToMany

getManyToMany

ManyToMany getManyToMany(int idx)
Returns:
one of ManyToMany

getManyToManyLength

int getManyToManyLength()

setManyToMany

void setManyToMany(ManyToMany[] values)
Parameters:
values - allowed objects are ManyToMany

setManyToMany

ManyToMany setManyToMany(int idx,
                         ManyToMany value)
Parameters:
value - allowed object is ManyToMany

getEmbedded

Embedded[] getEmbedded()
Returns:
array of Embedded

getEmbedded

Embedded getEmbedded(int idx)
Returns:
one of Embedded

getEmbeddedLength

int getEmbeddedLength()

setEmbedded

void setEmbedded(Embedded[] values)
Parameters:
values - allowed objects are Embedded

setEmbedded

Embedded setEmbedded(int idx,
                     Embedded value)
Parameters:
value - allowed object is Embedded

getTransient

Transient[] getTransient()
Returns:
array of Transient

getTransient

Transient getTransient(int idx)
Returns:
one of Transient

getTransientLength

int getTransientLength()

setTransient

void setTransient(Transient[] values)
Parameters:
values - allowed objects are Transient

setTransient

Transient setTransient(int idx,
                       Transient value)
Parameters:
value - allowed object is Transient


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