|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.prot.collections.valueclass.persistence.orm.NamedQuery
public class NamedQuery
| Field Summary | |
|---|---|
protected List<QueryHint> |
hint
|
protected String |
name
|
protected String |
query
|
| Constructor Summary | |
|---|---|
NamedQuery()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.persistence.orm.NamedQuery instance. |
|
NamedQuery(NamedQuery o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.persistence.orm.NamedQuery instance by copying a given instance. |
|
| Method Summary | |
|---|---|
NamedQuery |
clone()
Creates and returns a copy of this object. |
protected static void |
copyHint(List<QueryHint> source,
List<QueryHint> target)
Copies all values of property Hint. |
List<QueryHint> |
getHint()
Gets the value of the hint property. |
String |
getName()
Gets the value of the name property. |
String |
getQuery()
Gets the value of the query property. |
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 List<QueryHint> hint
protected String name
| Constructor Detail |
|---|
public NamedQuery()
net.sourceforge.ccxjc.it.model.prot.collections.valueclass.persistence.orm.NamedQuery instance.
public NamedQuery(NamedQuery o)
net.sourceforge.ccxjc.it.model.prot.collections.valueclass.persistence.orm.NamedQuery instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public String getQuery()
Stringpublic void setQuery(String value)
value - allowed object is
Stringpublic List<QueryHint> getHint()
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 hint property.
For example, to add a new item, do as follows:
getHint().add(newItem);
Objects of the following type(s) are allowed in the list
QueryHint
public String getName()
Stringpublic void setName(String value)
value - allowed object is
String
protected static void copyHint(List<QueryHint> source,
List<QueryHint> target)
Hint.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.public NamedQuery clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||