org.hibernate.internal.jaxb.mapping.hbm
Class JaxbMapElement.JaxbCompositeMapKey

java.lang.Object
  extended by org.hibernate.internal.jaxb.mapping.hbm.JaxbMapElement.JaxbCompositeMapKey
Enclosing class:
JaxbMapElement

public static class JaxbMapElement.JaxbCompositeMapKey
extends Object

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice maxOccurs="unbounded">
           <element name="key-property" type="{http://www.hibernate.org/xsd/hibernate-mapping}key-property-element"/>
           <element name="key-many-to-one" type="{http://www.hibernate.org/xsd/hibernate-mapping}key-many-to-one-element"/>
         </choice>
       </sequence>
       <attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String clazz
           
protected  List<Object> keyPropertyOrKeyManyToOne
           
 
Constructor Summary
JaxbMapElement.JaxbCompositeMapKey()
           
 
Method Summary
 String getClazz()
          Gets the value of the clazz property.
 List<Object> getKeyPropertyOrKeyManyToOne()
          Gets the value of the keyPropertyOrKeyManyToOne property.
 void setClazz(String value)
          Sets the value of the clazz property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keyPropertyOrKeyManyToOne

protected List<Object> keyPropertyOrKeyManyToOne

clazz

protected String clazz
Constructor Detail

JaxbMapElement.JaxbCompositeMapKey

public JaxbMapElement.JaxbCompositeMapKey()
Method Detail

getKeyPropertyOrKeyManyToOne

public List<Object> getKeyPropertyOrKeyManyToOne()
Gets the value of the keyPropertyOrKeyManyToOne 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 keyPropertyOrKeyManyToOne property.

For example, to add a new item, do as follows:

    getKeyPropertyOrKeyManyToOne().add(newItem);
 

Objects of the following type(s) are allowed in the list JaxbKeyPropertyElement JaxbKeyManyToOneElement


getClazz

public String getClazz()
Gets the value of the clazz property.

Returns:
possible object is String

setClazz

public void setClazz(String value)
Sets the value of the clazz property.

Parameters:
value - allowed object is String


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.