Class JaxbHbmManyToAnyCollectionElementType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmManyToAnyCollectionElementType
-
- All Implemented Interfaces:
Serializable
public class JaxbHbmManyToAnyCollectionElementType extends Object implements 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 List<JaxbHbmColumnType>
column
protected String
idType
protected String
metaType
protected List<JaxbHbmAnyValueMappingType>
metaValue
-
Constructor Summary
Constructors Constructor Description JaxbHbmManyToAnyCollectionElementType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<JaxbHbmColumnType>
getColumn()
Gets the value of the column property.String
getIdType()
Gets the value of the idType property.String
getMetaType()
Gets the value of the metaType property.List<JaxbHbmAnyValueMappingType>
getMetaValue()
Gets the value of the metaValue property.void
setIdType(String value)
Sets the value of the idType property.void
setMetaType(String value)
Sets the value of the metaType property.
-
-
-
Field Detail
-
metaValue
protected List<JaxbHbmAnyValueMappingType> metaValue
-
column
protected List<JaxbHbmColumnType> column
-
idType
protected String idType
-
metaType
protected String metaType
-
-
Method Detail
-
getMetaValue
public 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 Jakarta XML Binding 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
- Returns:
- The value of the metaValue property.
-
getColumn
public 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 Jakarta XML Binding 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
- Returns:
- The value of the column property.
-
getIdType
public String getIdType()
Gets the value of the idType property.- Returns:
- possible object is
String
-
setIdType
public void setIdType(String value)
Sets the value of the idType property.- Parameters:
value
- allowed object isString
-
getMetaType
public String getMetaType()
Gets the value of the metaType property.- Returns:
- possible object is
String
-
-