net.sourceforge.ccxjc.it.model.pub.indexed.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.
 JoinColumn[] getJoinColumn()
           
 JoinColumn getJoinColumn(int idx)
           
 int getJoinColumnLength()
           
 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.
 PrimaryKeyJoinColumn[] getPrimaryKeyJoinColumn()
           
 PrimaryKeyJoinColumn getPrimaryKeyJoinColumn(int idx)
           
 int getPrimaryKeyJoinColumnLength()
           
 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.
 JoinColumn setJoinColumn(int idx, JoinColumn value)
           
 void setJoinColumn(JoinColumn[] values)
           
 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.
 PrimaryKeyJoinColumn setPrimaryKeyJoinColumn(int idx, PrimaryKeyJoinColumn value)
           
 void setPrimaryKeyJoinColumn(PrimaryKeyJoinColumn[] values)
           
 void setTargetEntity(String value)
          Sets the value of the targetEntity property.
 

Method Detail

getPrimaryKeyJoinColumn

PrimaryKeyJoinColumn[] getPrimaryKeyJoinColumn()
Returns:
array of PrimaryKeyJoinColumn

getPrimaryKeyJoinColumn

PrimaryKeyJoinColumn getPrimaryKeyJoinColumn(int idx)
Returns:
one of PrimaryKeyJoinColumn

getPrimaryKeyJoinColumnLength

int getPrimaryKeyJoinColumnLength()

setPrimaryKeyJoinColumn

void setPrimaryKeyJoinColumn(PrimaryKeyJoinColumn[] values)
Parameters:
values - allowed objects are PrimaryKeyJoinColumn

setPrimaryKeyJoinColumn

PrimaryKeyJoinColumn setPrimaryKeyJoinColumn(int idx,
                                             PrimaryKeyJoinColumn value)
Parameters:
value - allowed object is PrimaryKeyJoinColumn

getJoinColumn

JoinColumn[] getJoinColumn()
Returns:
array of JoinColumn

getJoinColumn

JoinColumn getJoinColumn(int idx)
Returns:
one of JoinColumn

getJoinColumnLength

int getJoinColumnLength()

setJoinColumn

void setJoinColumn(JoinColumn[] values)
Parameters:
values - allowed objects are JoinColumn

setJoinColumn

JoinColumn setJoinColumn(int idx,
                         JoinColumn value)
Parameters:
value - allowed object is 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.