Class JaxbHbmManyToAnyCollectionElementType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmManyToAnyCollectionElementType
-
- All Implemented Interfaces:
java.io.Serializable
public class JaxbHbmManyToAnyCollectionElementType extends java.lang.Object implements java.io.Serializable
A "many to any" defines a polymorphic association to any table with the given identifier type. The first listed column is a VARCHAR column holding the name of the class (for that row).Java class for ManyToAnyCollectionElementType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ManyToAnyCollectionElementType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="meta-value" type="{http://www.hibernate.org/xsd/orm/hbm}AnyValueMappingType" maxOccurs="unbounded" minOccurs="0"/> <element name="column" type="{http://www.hibernate.org/xsd/orm/hbm}ColumnType" maxOccurs="unbounded" minOccurs="2"/> </sequence> <attribute name="id-type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="meta-type" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<JaxbHbmColumnType>
column
protected java.lang.String
idType
protected java.lang.String
metaType
protected java.util.List<JaxbHbmAnyValueMappingType>
metaValue
-
Constructor Summary
Constructors Constructor Description JaxbHbmManyToAnyCollectionElementType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<JaxbHbmColumnType>
getColumn()
Gets the value of the column property.java.lang.String
getIdType()
Gets the value of the idType property.java.lang.String
getMetaType()
Gets the value of the metaType property.java.util.List<JaxbHbmAnyValueMappingType>
getMetaValue()
Gets the value of the metaValue property.void
setIdType(java.lang.String value)
Sets the value of the idType property.void
setMetaType(java.lang.String value)
Sets the value of the metaType property.
-
-
-
Field Detail
-
metaValue
protected java.util.List<JaxbHbmAnyValueMappingType> metaValue
-
column
protected java.util.List<JaxbHbmColumnType> column
-
idType
protected java.lang.String idType
-
metaType
protected java.lang.String metaType
-
-
Method Detail
-
getMetaValue
public java.util.List<JaxbHbmAnyValueMappingType> getMetaValue()
Gets the value of the metaValue 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 JAXB object. This is why there is not a
set
method for the metaValue property.For example, to add a new item, do as follows:
getMetaValue().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbHbmAnyValueMappingType
-
getColumn
public java.util.List<JaxbHbmColumnType> getColumn()
Gets the value of the column 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 JAXB object. This is why there is not a
set
method for the column property.For example, to add a new item, do as follows:
getColumn().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbHbmColumnType
-
getIdType
public java.lang.String getIdType()
Gets the value of the idType property.- Returns:
- possible object is
String
-
setIdType
public void setIdType(java.lang.String value)
Sets the value of the idType property.- Parameters:
value
- allowed object isString
-
getMetaType
public java.lang.String getMetaType()
Gets the value of the metaType property.- Returns:
- possible object is
String
-
setMetaType
public void setMetaType(java.lang.String value)
Sets the value of the metaType property.- Parameters:
value
- allowed object isString
-
-