net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.persistence.orm
Interface OneToOne

All Known Implementing Classes:
OneToOneImpl

public interface OneToOne


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 getMappedBy()
          Gets the value of the mappedBy property.
 String getName()
          Gets the value of the name property.
 List<PrimaryKeyJoinColumn> getPrimaryKeyJoinColumn()
          Gets the value of the primaryKeyJoinColumn 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 setMappedBy(String value)
          Sets the value of the mappedBy 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

getPrimaryKeyJoinColumn

List<PrimaryKeyJoinColumn> getPrimaryKeyJoinColumn()
Gets the value of the primaryKeyJoinColumn 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 primaryKeyJoinColumn property.

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

    getPrimaryKeyJoinColumn().add(newItem);
 

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


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

getMappedBy

String getMappedBy()
Gets the value of the mappedBy property.

Returns:
possible object is String

setMappedBy

void setMappedBy(String value)
Sets the value of the mappedBy property.

Parameters:
value - allowed object is String


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