|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jvnet.hyperjaxb3.ejb.schemas.customizations.Persistence
public class Persistence
Java class for persistence complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="persistence">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="default-entity" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}entity"/>
<element name="default-mapped-superclass" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}mapped-superclass"/>
<element name="default-embeddable" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}embeddable"/>
<element name="default-id" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}id"/>
<element name="default-generated-id" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}generated-id"/>
<element name="default-embedded-id" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}embedded-id"/>
<element name="default-version" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}version"/>
<element name="default-generated-version" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}generated-version"/>
<element name="default-basic" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}basic"/>
<element name="default-to-one" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}to-one"/>
<element name="default-to-many" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}to-many"/>
<element name="default-many-to-one" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}many-to-one"/>
<element name="default-one-to-many" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}one-to-many"/>
<element name="default-one-to-one" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}one-to-one"/>
<element name="default-many-to-many" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}many-to-many"/>
<element name="default-element-collection" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}element-collection"/>
<element name="default-embedded" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}embedded"/>
<element name="default-single-property" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}single-property" maxOccurs="unbounded" minOccurs="0"/>
<element name="default-collection-property" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}collection-property" maxOccurs="unbounded" minOccurs="0"/>
<element name="default-jaxb-context" type="{http://hyperjaxb3.jvnet.org/ejb/schemas/customizations}jaxb-context"/>
</sequence>
<attribute name="merge" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected Basic |
defaultBasic
|
protected List<CollectionProperty> |
defaultCollectionProperty
|
protected ElementCollection |
defaultElementCollection
|
protected Embeddable |
defaultEmbeddable
|
protected Embedded |
defaultEmbedded
|
protected EmbeddedId |
defaultEmbeddedId
|
protected Entity |
defaultEntity
|
protected GeneratedId |
defaultGeneratedId
|
protected GeneratedVersion |
defaultGeneratedVersion
|
protected Id |
defaultId
|
protected JaxbContext |
defaultJaxbContext
|
protected ManyToMany |
defaultManyToMany
|
protected ManyToOne |
defaultManyToOne
|
protected MappedSuperclass |
defaultMappedSuperclass
|
protected OneToMany |
defaultOneToMany
|
protected OneToOne |
defaultOneToOne
|
protected List<SingleProperty> |
defaultSingleProperty
|
protected ToMany |
defaultToMany
|
protected ToOne |
defaultToOne
|
protected Version |
defaultVersion
|
protected Boolean |
merge
|
| Constructor Summary | |
|---|---|
Persistence()
|
|
| Method Summary | |
|---|---|
Object |
clone()
|
Object |
copyTo(Object target)
|
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
|
Object |
createNewInstance()
|
boolean |
equals(Object object)
|
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
|
Basic |
getDefaultBasic()
Gets the value of the defaultBasic property. |
List<CollectionProperty> |
getDefaultCollectionProperty()
Gets the value of the defaultCollectionProperty property. |
ElementCollection |
getDefaultElementCollection()
Gets the value of the defaultElementCollection property. |
Embeddable |
getDefaultEmbeddable()
Gets the value of the defaultEmbeddable property. |
Embedded |
getDefaultEmbedded()
Gets the value of the defaultEmbedded property. |
EmbeddedId |
getDefaultEmbeddedId()
Gets the value of the defaultEmbeddedId property. |
Entity |
getDefaultEntity()
Gets the value of the defaultEntity property. |
GeneratedId |
getDefaultGeneratedId()
Gets the value of the defaultGeneratedId property. |
GeneratedVersion |
getDefaultGeneratedVersion()
Gets the value of the defaultGeneratedVersion property. |
Id |
getDefaultId()
Gets the value of the defaultId property. |
JaxbContext |
getDefaultJaxbContext()
Gets the value of the defaultJaxbContext property. |
ManyToMany |
getDefaultManyToMany()
Gets the value of the defaultManyToMany property. |
ManyToOne |
getDefaultManyToOne()
Gets the value of the defaultManyToOne property. |
MappedSuperclass |
getDefaultMappedSuperclass()
Gets the value of the defaultMappedSuperclass property. |
OneToMany |
getDefaultOneToMany()
Gets the value of the defaultOneToMany property. |
OneToOne |
getDefaultOneToOne()
Gets the value of the defaultOneToOne property. |
List<SingleProperty> |
getDefaultSingleProperty()
Gets the value of the defaultSingleProperty property. |
ToMany |
getDefaultToMany()
Gets the value of the defaultToMany property. |
ToOne |
getDefaultToOne()
Gets the value of the defaultToOne property. |
Version |
getDefaultVersion()
Gets the value of the defaultVersion property. |
int |
hashCode()
|
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
|
boolean |
isMerge()
Gets the value of the merge property. |
void |
mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy strategy)
|
void |
mergeFrom(Object left,
Object right)
|
void |
setDefaultBasic(Basic value)
Sets the value of the defaultBasic property. |
void |
setDefaultElementCollection(ElementCollection value)
Sets the value of the defaultElementCollection property. |
void |
setDefaultEmbeddable(Embeddable value)
Sets the value of the defaultEmbeddable property. |
void |
setDefaultEmbedded(Embedded value)
Sets the value of the defaultEmbedded property. |
void |
setDefaultEmbeddedId(EmbeddedId value)
Sets the value of the defaultEmbeddedId property. |
void |
setDefaultEntity(Entity value)
Sets the value of the defaultEntity property. |
void |
setDefaultGeneratedId(GeneratedId value)
Sets the value of the defaultGeneratedId property. |
void |
setDefaultGeneratedVersion(GeneratedVersion value)
Sets the value of the defaultGeneratedVersion property. |
void |
setDefaultId(Id value)
Sets the value of the defaultId property. |
void |
setDefaultJaxbContext(JaxbContext value)
Sets the value of the defaultJaxbContext property. |
void |
setDefaultManyToMany(ManyToMany value)
Sets the value of the defaultManyToMany property. |
void |
setDefaultManyToOne(ManyToOne value)
Sets the value of the defaultManyToOne property. |
void |
setDefaultMappedSuperclass(MappedSuperclass value)
Sets the value of the defaultMappedSuperclass property. |
void |
setDefaultOneToMany(OneToMany value)
Sets the value of the defaultOneToMany property. |
void |
setDefaultOneToOne(OneToOne value)
Sets the value of the defaultOneToOne property. |
void |
setDefaultToMany(ToMany value)
Sets the value of the defaultToMany property. |
void |
setDefaultToOne(ToOne value)
Sets the value of the defaultToOne property. |
void |
setDefaultVersion(Version value)
Sets the value of the defaultVersion property. |
void |
setMerge(Boolean value)
Sets the value of the merge property. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Entity defaultEntity
protected MappedSuperclass defaultMappedSuperclass
protected Embeddable defaultEmbeddable
protected Id defaultId
protected GeneratedId defaultGeneratedId
protected EmbeddedId defaultEmbeddedId
protected Version defaultVersion
protected GeneratedVersion defaultGeneratedVersion
protected Basic defaultBasic
protected ToOne defaultToOne
protected ToMany defaultToMany
protected ManyToOne defaultManyToOne
protected OneToMany defaultOneToMany
protected OneToOne defaultOneToOne
protected ManyToMany defaultManyToMany
protected ElementCollection defaultElementCollection
protected Embedded defaultEmbedded
protected List<SingleProperty> defaultSingleProperty
protected List<CollectionProperty> defaultCollectionProperty
protected JaxbContext defaultJaxbContext
protected Boolean merge
| Constructor Detail |
|---|
public Persistence()
| Method Detail |
|---|
public Entity getDefaultEntity()
Entitypublic void setDefaultEntity(Entity value)
value - allowed object is
Entitypublic MappedSuperclass getDefaultMappedSuperclass()
MappedSuperclasspublic void setDefaultMappedSuperclass(MappedSuperclass value)
value - allowed object is
MappedSuperclasspublic Embeddable getDefaultEmbeddable()
Embeddablepublic void setDefaultEmbeddable(Embeddable value)
value - allowed object is
Embeddablepublic Id getDefaultId()
Idpublic void setDefaultId(Id value)
value - allowed object is
Idpublic GeneratedId getDefaultGeneratedId()
GeneratedIdpublic void setDefaultGeneratedId(GeneratedId value)
value - allowed object is
GeneratedIdpublic EmbeddedId getDefaultEmbeddedId()
EmbeddedIdpublic void setDefaultEmbeddedId(EmbeddedId value)
value - allowed object is
EmbeddedIdpublic Version getDefaultVersion()
Versionpublic void setDefaultVersion(Version value)
value - allowed object is
Versionpublic GeneratedVersion getDefaultGeneratedVersion()
GeneratedVersionpublic void setDefaultGeneratedVersion(GeneratedVersion value)
value - allowed object is
GeneratedVersionpublic Basic getDefaultBasic()
Basicpublic void setDefaultBasic(Basic value)
value - allowed object is
Basicpublic ToOne getDefaultToOne()
ToOnepublic void setDefaultToOne(ToOne value)
value - allowed object is
ToOnepublic ToMany getDefaultToMany()
ToManypublic void setDefaultToMany(ToMany value)
value - allowed object is
ToManypublic ManyToOne getDefaultManyToOne()
ManyToOnepublic void setDefaultManyToOne(ManyToOne value)
value - allowed object is
ManyToOnepublic OneToMany getDefaultOneToMany()
OneToManypublic void setDefaultOneToMany(OneToMany value)
value - allowed object is
OneToManypublic OneToOne getDefaultOneToOne()
OneToOnepublic void setDefaultOneToOne(OneToOne value)
value - allowed object is
OneToOnepublic ManyToMany getDefaultManyToMany()
ManyToManypublic void setDefaultManyToMany(ManyToMany value)
value - allowed object is
ManyToManypublic ElementCollection getDefaultElementCollection()
ElementCollectionpublic void setDefaultElementCollection(ElementCollection value)
value - allowed object is
ElementCollectionpublic Embedded getDefaultEmbedded()
Embeddedpublic void setDefaultEmbedded(Embedded value)
value - allowed object is
Embeddedpublic List<SingleProperty> getDefaultSingleProperty()
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 defaultSingleProperty property.
For example, to add a new item, do as follows:
getDefaultSingleProperty().add(newItem);
Objects of the following type(s) are allowed in the list
SingleProperty
public List<CollectionProperty> getDefaultCollectionProperty()
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 defaultCollectionProperty property.
For example, to add a new item, do as follows:
getDefaultCollectionProperty().add(newItem);
Objects of the following type(s) are allowed in the list
CollectionProperty
public JaxbContext getDefaultJaxbContext()
JaxbContextpublic void setDefaultJaxbContext(JaxbContext value)
value - allowed object is
JaxbContextpublic boolean isMerge()
isMerge in interface MergeableBooleanpublic void setMerge(Boolean value)
value - allowed object is
Boolean
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(Object object)
equals in class Object
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class Objectpublic Object clone()
clone in class Objectpublic Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTocreateNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom
public void mergeFrom(Object left,
Object right)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom
public void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
Object left,
Object right,
org.jvnet.jaxb2_commons.lang.MergeStrategy strategy)
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||