|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.persistence.orm.impl.NamedQueryImpl
public class NamedQueryImpl
| Field Summary | |
|---|---|
protected QueryHint[] |
hint
|
protected String |
name
|
protected String |
query
|
| Constructor Summary | |
|---|---|
NamedQueryImpl()
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.persistence.orm.impl.NamedQueryImpl instance. |
|
NamedQueryImpl(NamedQueryImpl o)
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.persistence.orm.impl.NamedQueryImpl instance by copying a given instance. |
|
| Method Summary | |
|---|---|
NamedQueryImpl |
clone()
Creates and returns a copy of this object. |
protected void |
copyHint(QueryHint[] source)
Copies all values of property Hint. |
QueryHint[] |
getHint()
|
QueryHint |
getHint(int idx)
|
int |
getHintLength()
|
String |
getName()
Gets the value of the name property. |
String |
getQuery()
Gets the value of the query property. |
QueryHint |
setHint(int idx,
QueryHint value)
|
void |
setHint(QueryHint[] values)
|
void |
setName(String value)
Sets the value of the name property. |
void |
setQuery(String value)
Sets the value of the query property. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String query
protected QueryHint[] hint
protected String name
| Constructor Detail |
|---|
public NamedQueryImpl()
net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.persistence.orm.impl.NamedQueryImpl instance.
public NamedQueryImpl(NamedQueryImpl o)
net.sourceforge.ccxjc.it.model.prot.indexed.novalueclass.persistence.orm.impl.NamedQueryImpl instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public String getQuery()
NamedQuery
getQuery in interface NamedQueryStringpublic void setQuery(String value)
NamedQuery
setQuery in interface NamedQueryvalue - allowed object is
Stringpublic QueryHint[] getHint()
getHint in interface NamedQueryQueryHintpublic QueryHint getHint(int idx)
getHint in interface NamedQueryQueryHintpublic int getHintLength()
getHintLength in interface NamedQuerypublic void setHint(QueryHint[] values)
setHint in interface NamedQueryvalues - allowed objects are
QueryHint
public QueryHint setHint(int idx,
QueryHint value)
setHint in interface NamedQueryvalue - allowed object is
QueryHintpublic String getName()
NamedQuery
getName in interface NamedQueryStringpublic void setName(String value)
NamedQuery
setName in interface NamedQueryvalue - allowed object is
Stringprotected void copyHint(QueryHint[] source)
Hint.
source - The source to copy from.
NullPointerException - if source is null.public NamedQueryImpl clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||