net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.persistence.orm
Interface ManyToOne

All Known Implementing Classes:
ManyToOneImpl

public interface ManyToOne


Method Summary
 CascadeType getCascade()
          Gets the value of the cascade property.
 FetchType getFetch()
          Gets the value of the fetch property.
 List<JoinColumn> getJoinColumn()
          Gets the value of the joinColumn property.
 JoinTable getJoinTable()
          Gets the value of the joinTable property.
 String getName()
          Gets the value of the name property.
 String getTargetEntity()
          Gets the value of the targetEntity property.
 Boolean isOptional()
          Gets the value of the optional property.
 void setCascade(CascadeType value)
          Sets the value of the cascade property.
 void setFetch(FetchType value)
          Sets the value of the fetch property.
 void setJoinTable(JoinTable value)
          Sets the value of the joinTable 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.
 

Method Detail

getJoinColumn

List<JoinColumn> 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 JoinColumn


getJoinTable

JoinTable getJoinTable()
Gets the value of the joinTable property.

Returns:
possible object is JoinTable

setJoinTable

void setJoinTable(JoinTable value)
Sets the value of the joinTable property.

Parameters:
value - allowed object is JoinTable

getCascade

CascadeType getCascade()
Gets the value of the cascade property.

Returns:
possible object is CascadeType

setCascade

void setCascade(CascadeType value)
Sets the value of the cascade property.

Parameters:
value - allowed object is CascadeType

getName

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

Returns:
possible object is String

setName

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

Parameters:
value - allowed object is String

getTargetEntity

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

Returns:
possible object is String

setTargetEntity

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

Parameters:
value - allowed object is String

getFetch

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

Returns:
possible object is FetchType

setFetch

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

Parameters:
value - allowed object is FetchType

isOptional

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

Returns:
possible object is Boolean

setOptional

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

Parameters:
value - allowed object is Boolean


Copyright © 2009 The CC-XJC Community. All Rights Reserved.