org.hibernate.internal.jaxb.mapping.orm
Class JaxbManyToOne

java.lang.Object
  extended by org.hibernate.internal.jaxb.mapping.orm.JaxbManyToOne

public class JaxbManyToOne
extends Object


Field Summary
protected  JaxbAccessType access
           
protected  JaxbCascadeType cascade
           
protected  JaxbFetchType fetch
           
protected  Boolean id
           
protected  List<JaxbJoinColumn> joinColumn
           
protected  JaxbJoinTable joinTable
           
protected  String mapsId
           
protected  String name
           
protected  Boolean optional
           
protected  String targetEntity
           
 
Constructor Summary
JaxbManyToOne()
           
 
Method Summary
 JaxbAccessType getAccess()
          Gets the value of the access property.
 JaxbCascadeType getCascade()
          Gets the value of the cascade property.
 JaxbFetchType getFetch()
          Gets the value of the fetch property.
 List<JaxbJoinColumn> getJoinColumn()
          Gets the value of the joinColumn property.
 JaxbJoinTable getJoinTable()
          Gets the value of the joinTable property.
 String getMapsId()
          Gets the value of the mapsId property.
 String getName()
          Gets the value of the name property.
 String getTargetEntity()
          Gets the value of the targetEntity property.
 Boolean isId()
          Gets the value of the id property.
 Boolean isOptional()
          Gets the value of the optional property.
 void setAccess(JaxbAccessType value)
          Sets the value of the access property.
 void setCascade(JaxbCascadeType value)
          Sets the value of the cascade property.
 void setFetch(JaxbFetchType value)
          Sets the value of the fetch property.
 void setId(Boolean value)
          Sets the value of the id property.
 void setJoinTable(JaxbJoinTable value)
          Sets the value of the joinTable property.
 void setMapsId(String value)
          Sets the value of the mapsId property.
 void setName(String value)
          Sets the value of the name property.
 void setOptional(Boolean value)
          Sets the value of the optional property.
 void setTargetEntity(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

joinColumn

protected List<JaxbJoinColumn> joinColumn

joinTable

protected JaxbJoinTable joinTable

cascade

protected JaxbCascadeType cascade

name

protected String name

targetEntity

protected String targetEntity

fetch

protected JaxbFetchType fetch

optional

protected Boolean optional

access

protected JaxbAccessType access

mapsId

protected String mapsId

id

protected Boolean id
Constructor Detail

JaxbManyToOne

public JaxbManyToOne()
Method Detail

getJoinColumn

public List<JaxbJoinColumn> getJoinColumn()
Gets the value of the joinColumn 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 joinColumn property.

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

    getJoinColumn().add(newItem);
 

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


getJoinTable

public JaxbJoinTable getJoinTable()
Gets the value of the joinTable property.

Returns:
possible object is JaxbJoinTable

setJoinTable

public void setJoinTable(JaxbJoinTable value)
Sets the value of the joinTable property.

Parameters:
value - allowed object is JaxbJoinTable

getCascade

public JaxbCascadeType getCascade()
Gets the value of the cascade property.

Returns:
possible object is JaxbCascadeType

setCascade

public void setCascade(JaxbCascadeType value)
Sets the value of the cascade property.

Parameters:
value - allowed object is JaxbCascadeType

getName

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

Returns:
possible object is String

setName

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

Parameters:
value - allowed object is String

getTargetEntity

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

Returns:
possible object is String

setTargetEntity

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

Parameters:
value - allowed object is String

getFetch

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

Returns:
possible object is JaxbFetchType

setFetch

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

Parameters:
value - allowed object is JaxbFetchType

isOptional

public Boolean isOptional()
Gets the value of the optional property.

Returns:
possible object is Boolean

setOptional

public void setOptional(Boolean value)
Sets the value of the optional property.

Parameters:
value - allowed object is Boolean

getAccess

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

Returns:
possible object is JaxbAccessType

setAccess

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

Parameters:
value - allowed object is JaxbAccessType

getMapsId

public String getMapsId()
Gets the value of the mapsId property.

Returns:
possible object is String

setMapsId

public void setMapsId(String value)
Sets the value of the mapsId property.

Parameters:
value - allowed object is String

isId

public Boolean isId()
Gets the value of the id property.

Returns:
possible object is Boolean

setId

public void setId(Boolean value)
Sets the value of the id property.

Parameters:
value - allowed object is Boolean


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