Package org.hibernate.boot.jaxb.mapping
Class JaxbDatabaseObject
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.JaxbDatabaseObject
-
- All Implemented Interfaces:
Serializable
public class JaxbDatabaseObject extends Object implements Serializable
Java class for database-object complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="database-object"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice> <element name="definition"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <sequence> <element name="create" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="drop" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="dialect-scope" type="{http://www.hibernate.org/xsd/orm/mapping}database-object-scope" maxOccurs="unbounded" minOccurs="0"/> </sequence> </choice> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJaxbDatabaseObject.JaxbDefinitionJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected Stringcreateprotected JaxbDatabaseObject.JaxbDefinitiondefinitionprotected List<JaxbDatabaseObjectScope>dialectScopesprotected Stringdrop
-
Constructor Summary
Constructors Constructor Description JaxbDatabaseObject()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCreate()Gets the value of the create property.JaxbDatabaseObject.JaxbDefinitiongetDefinition()Gets the value of the definition property.List<JaxbDatabaseObjectScope>getDialectScopes()Gets the value of the dialectScopes property.StringgetDrop()Gets the value of the drop property.voidsetCreate(String value)Sets the value of the create property.voidsetDefinition(JaxbDatabaseObject.JaxbDefinition value)Sets the value of the definition property.voidsetDrop(String value)Sets the value of the drop property.
-
-
-
Field Detail
-
definition
protected JaxbDatabaseObject.JaxbDefinition definition
-
create
protected String create
-
drop
protected String drop
-
dialectScopes
protected List<JaxbDatabaseObjectScope> dialectScopes
-
-
Method Detail
-
getDefinition
public JaxbDatabaseObject.JaxbDefinition getDefinition()
Gets the value of the definition property.- Returns:
- possible object is
JaxbDatabaseObject.JaxbDefinition
-
setDefinition
public void setDefinition(JaxbDatabaseObject.JaxbDefinition value)
Sets the value of the definition property.- Parameters:
value- allowed object isJaxbDatabaseObject.JaxbDefinition
-
getCreate
public String getCreate()
Gets the value of the create property.- Returns:
- possible object is
String
-
setCreate
public void setCreate(String value)
Sets the value of the create property.- Parameters:
value- allowed object isString
-
getDrop
public String getDrop()
Gets the value of the drop property.- Returns:
- possible object is
String
-
setDrop
public void setDrop(String value)
Sets the value of the drop property.- Parameters:
value- allowed object isString
-
getDialectScopes
public List<JaxbDatabaseObjectScope> getDialectScopes()
Gets the value of the dialectScopes 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 Jakarta XML Binding object. This is why there is not a
setmethod for the dialectScopes property.For example, to add a new item, do as follows:
getDialectScopes().add(newItem);Objects of the following type(s) are allowed in the list
JaxbDatabaseObjectScope- Returns:
- The value of the dialectScopes property.
-
-