Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmMapKeyCompositeType
- java.lang.Object
-
- org.hibernate.boot.jaxb.hbm.spi.JaxbHbmMapKeyCompositeType
-
- All Implemented Interfaces:
java.io.Serializable
public class JaxbHbmMapKeyCompositeType extends java.lang.Object implements java.io.Serializable
Describes the key of a java.util.Map where the key is a composite typeJava class for MapKeyCompositeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MapKeyCompositeType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice maxOccurs="unbounded"> <element name="key-property" type="{http://www.hibernate.org/xsd/orm/hbm}CompositeKeyBasicAttributeType"/> <element name="key-many-to-one" type="{http://www.hibernate.org/xsd/orm/hbm}CompositeKeyManyToOneType"/> </choice> </sequence> <attribute name="class" use="required" type="{http://www.hibernate.org/xsd/orm/hbm}ClassNameType" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<JaxbHbmToolingHintContainer>
attributes
protected java.lang.String
clazz
-
Constructor Summary
Constructors Constructor Description JaxbHbmMapKeyCompositeType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<JaxbHbmToolingHintContainer>
getAttributes()
Gets the value of the attributes property.java.lang.String
getClazz()
Gets the value of the clazz property.void
setClazz(java.lang.String value)
Sets the value of the clazz property.
-
-
-
Field Detail
-
attributes
protected java.util.List<JaxbHbmToolingHintContainer> attributes
-
clazz
protected java.lang.String clazz
-
-
Method Detail
-
getAttributes
public java.util.List<JaxbHbmToolingHintContainer> getAttributes()
Gets the value of the attributes 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 attributes property.For example, to add a new item, do as follows:
getAttributes().add(newItem);
Objects of the following type(s) are allowed in the list
JaxbHbmCompositeKeyBasicAttributeType
JaxbHbmCompositeKeyManyToOneType
-
getClazz
public java.lang.String getClazz()
Gets the value of the clazz property.- Returns:
- possible object is
String
-
setClazz
public void setClazz(java.lang.String value)
Sets the value of the clazz property.- Parameters:
value
- allowed object isString
-
-