org.hibernate.jpamodelgen.xml.jaxb
Class ElementCollection

java.lang.Object
  extended by org.hibernate.jpamodelgen.xml.jaxb.ElementCollection

public class ElementCollection
extends java.lang.Object


Field Summary
protected  AccessType access
           
protected  CollectionTable collectionTable
           
protected  Column column
           
protected  FetchType fetch
           
protected  MapKey mapKey
           
protected  MapKeyClass mapKeyClass
           
protected  MapKeyColumn mapKeyColumn
           
protected  java.util.List<MapKeyJoinColumn> mapKeyJoinColumn
           
protected  java.lang.String name
           
protected  java.lang.String orderBy
           
protected  OrderColumn orderColumn
           
protected  java.lang.String targetEntity
           
 
Constructor Summary
ElementCollection()
           
 
Method Summary
 AccessType getAccess()
          Gets the value of the access property.
 CollectionTable getCollectionTable()
          Gets the value of the collectionTable property.
 Column getColumn()
          Gets the value of the column property.
 FetchType getFetch()
          Gets the value of the fetch property.
 MapKey getMapKey()
          Gets the value of the mapKey property.
 MapKeyClass getMapKeyClass()
          Gets the value of the mapKeyClass property.
 MapKeyColumn getMapKeyColumn()
          Gets the value of the mapKeyColumn property.
 java.util.List<MapKeyJoinColumn> getMapKeyJoinColumn()
          Gets the value of the mapKeyJoinColumn property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getOrderBy()
          Gets the value of the orderBy property.
 OrderColumn getOrderColumn()
          Gets the value of the orderColumn property.
 java.lang.String getTargetEntity()
          Gets the value of the targetEntity property.
 void setAccess(AccessType value)
          Sets the value of the access property.
 void setCollectionTable(CollectionTable value)
          Sets the value of the collectionTable property.
 void setColumn(Column value)
          Sets the value of the column property.
 void setFetch(FetchType value)
          Sets the value of the fetch property.
 void setMapKey(MapKey value)
          Sets the value of the mapKey property.
 void setMapKeyClass(MapKeyClass value)
          Sets the value of the mapKeyClass property.
 void setMapKeyColumn(MapKeyColumn value)
          Sets the value of the mapKeyColumn property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setOrderBy(java.lang.String value)
          Sets the value of the orderBy property.
 void setOrderColumn(OrderColumn value)
          Sets the value of the orderColumn property.
 void setTargetEntity(java.lang.String value)
          Sets the value of the targetEntity property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

column

protected Column column

orderBy

protected java.lang.String orderBy

orderColumn

protected OrderColumn orderColumn

mapKey

protected MapKey mapKey

mapKeyClass

protected MapKeyClass mapKeyClass

mapKeyColumn

protected MapKeyColumn mapKeyColumn

mapKeyJoinColumn

protected java.util.List<MapKeyJoinColumn> mapKeyJoinColumn

collectionTable

protected CollectionTable collectionTable

access

protected AccessType access

fetch

protected FetchType fetch

name

protected java.lang.String name

targetEntity

protected java.lang.String targetEntity
Constructor Detail

ElementCollection

public ElementCollection()
Method Detail

getColumn

public Column getColumn()
Gets the value of the column property.

Returns:
possible object is Column

setColumn

public void setColumn(Column value)
Sets the value of the column property.

Parameters:
value - allowed object is Column

getOrderBy

public java.lang.String getOrderBy()
Gets the value of the orderBy property.

Returns:
possible object is String

setOrderBy

public void setOrderBy(java.lang.String value)
Sets the value of the orderBy property.

Parameters:
value - allowed object is String

getOrderColumn

public OrderColumn getOrderColumn()
Gets the value of the orderColumn property.

Returns:
possible object is OrderColumn

setOrderColumn

public void setOrderColumn(OrderColumn value)
Sets the value of the orderColumn property.

Parameters:
value - allowed object is OrderColumn

getMapKey

public MapKey getMapKey()
Gets the value of the mapKey property.

Returns:
possible object is MapKey

setMapKey

public void setMapKey(MapKey value)
Sets the value of the mapKey property.

Parameters:
value - allowed object is MapKey

getMapKeyClass

public MapKeyClass getMapKeyClass()
Gets the value of the mapKeyClass property.

Returns:
possible object is MapKeyClass

setMapKeyClass

public void setMapKeyClass(MapKeyClass value)
Sets the value of the mapKeyClass property.

Parameters:
value - allowed object is MapKeyClass

getMapKeyColumn

public MapKeyColumn getMapKeyColumn()
Gets the value of the mapKeyColumn property.

Returns:
possible object is MapKeyColumn

setMapKeyColumn

public void setMapKeyColumn(MapKeyColumn value)
Sets the value of the mapKeyColumn property.

Parameters:
value - allowed object is MapKeyColumn

getMapKeyJoinColumn

public java.util.List<MapKeyJoinColumn> getMapKeyJoinColumn()
Gets the value of the mapKeyJoinColumn 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 mapKeyJoinColumn property.

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

    getMapKeyJoinColumn().add(newItem);
 

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


getCollectionTable

public CollectionTable getCollectionTable()
Gets the value of the collectionTable property.

Returns:
possible object is CollectionTable

setCollectionTable

public void setCollectionTable(CollectionTable value)
Sets the value of the collectionTable property.

Parameters:
value - allowed object is CollectionTable

getAccess

public AccessType getAccess()
Gets the value of the access property.

Returns:
possible object is AccessType

setAccess

public void setAccess(AccessType value)
Sets the value of the access property.

Parameters:
value - allowed object is AccessType

getFetch

public FetchType getFetch()
Gets the value of the fetch property.

Returns:
possible object is FetchType

setFetch

public void setFetch(FetchType value)
Sets the value of the fetch property.

Parameters:
value - allowed object is FetchType

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getTargetEntity

public java.lang.String getTargetEntity()
Gets the value of the targetEntity property.

Returns:
possible object is String

setTargetEntity

public void setTargetEntity(java.lang.String value)
Sets the value of the targetEntity property.

Parameters:
value - allowed object is String


Copyright © 2009. All Rights Reserved.