net.sourceforge.ccxjc.it.model.prot.collections.valueclass.persistence.orm
Class SqlResultSetMapping

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.collections.valueclass.persistence.orm.SqlResultSetMapping
All Implemented Interfaces:
Serializable, Cloneable

public class SqlResultSetMapping
extends Object
implements Serializable, Cloneable

See Also:
Serialized Form

Field Summary
protected  List<ColumnResult> columnResult
           
protected  List<EntityResult> entityResult
           
protected  String name
           
 
Constructor Summary
SqlResultSetMapping()
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.persistence.orm.SqlResultSetMapping instance.
SqlResultSetMapping(SqlResultSetMapping o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.persistence.orm.SqlResultSetMapping instance by copying a given instance.
 
Method Summary
 SqlResultSetMapping clone()
          Creates and returns a copy of this object.
protected static void copyColumnResult(List<ColumnResult> source, List<ColumnResult> target)
          Copies all values of property ColumnResult.
protected static void copyEntityResult(List<EntityResult> source, List<EntityResult> target)
          Copies all values of property EntityResult.
 List<ColumnResult> getColumnResult()
          Gets the value of the columnResult property.
 List<EntityResult> getEntityResult()
          Gets the value of the entityResult property.
 String getName()
          Gets the value of the name property.
 void setName(String value)
          Sets the value of the name property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entityResult

protected List<EntityResult> entityResult

columnResult

protected List<ColumnResult> columnResult

name

protected String name
Constructor Detail

SqlResultSetMapping

public SqlResultSetMapping()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.persistence.orm.SqlResultSetMapping instance.


SqlResultSetMapping

public SqlResultSetMapping(SqlResultSetMapping o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.persistence.orm.SqlResultSetMapping instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getEntityResult

public List<EntityResult> getEntityResult()
Gets the value of the entityResult 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 entityResult property.

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

    getEntityResult().add(newItem);
 

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


getColumnResult

public List<ColumnResult> getColumnResult()
Gets the value of the columnResult 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 columnResult property.

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

    getColumnResult().add(newItem);
 

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


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

copyEntityResult

protected static void copyEntityResult(List<EntityResult> source,
                                       List<EntityResult> target)
Copies all values of property EntityResult.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

copyColumnResult

protected static void copyColumnResult(List<ColumnResult> source,
                                       List<ColumnResult> target)
Copies all values of property ColumnResult.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

clone

public SqlResultSetMapping clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


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