Package org.hibernate.boot.jaxb.hbm.spi
Class JaxbHbmCompositeIndexType
java.lang.Object
org.hibernate.boot.jaxb.hbm.spi.JaxbHbmCompositeIndexType
- All Implemented Interfaces:
Serializable
Describes the key of a java.util.Map which is a composite. Should prefer
'composite-map-key' instead
Java class for composite-index-type complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="composite-index-type">
<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:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attributes property.getClazz()Gets the value of the clazz property.voidSets the value of the clazz property.
-
Field Details
-
attributes
-
clazz
-
-
Constructor Details
-
JaxbHbmCompositeIndexType
public JaxbHbmCompositeIndexType()
-
-
Method Details
-
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
setmethod 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
JaxbHbmCompositeKeyBasicAttributeTypeJaxbHbmCompositeKeyManyToOneType- Returns:
- The value of the attributes property.
-
getClazz
Gets the value of the clazz property.- Returns:
- possible object is
String
-
setClazz
Sets the value of the clazz property.- Parameters:
value- allowed object isString
-