com.sun.enterprise.deployment
Class QueryDescriptor
java.lang.Object
java.util.Observable
com.sun.enterprise.deployment.DynamicAttributesDescriptor
com.sun.enterprise.deployment.Descriptor
com.sun.enterprise.deployment.QueryDescriptor
- All Implemented Interfaces:
- java.io.Serializable
public final class QueryDescriptor
- extends Descriptor
This class contains information about EJB-QL queries for
finder/selector methods of EJB2.0 CMP EntityBeans.
It represents the XML element.
- Author:
- Sanjeev Krishnan
- See Also:
- Serialized Form
| Methods inherited from class com.sun.enterprise.deployment.Descriptor |
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit |
| Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
QueryDescriptor
public QueryDescriptor()
QueryDescriptor
public QueryDescriptor(QueryDescriptor otherQuery,
java.lang.reflect.Method m)
setQueryMethod
public void setQueryMethod(java.lang.reflect.Method m)
- public void setQueryMethod(MethodDescriptor md)
{
this.methodDescriptor = md;
}
public MethodDescriptor getQueryMethod()
{
return methodDescriptor;
}
getQueryMethod
public java.lang.reflect.Method getQueryMethod()
setQueryMethodDescriptor
public void setQueryMethodDescriptor(MethodDescriptor m)
getQueryMethodDescriptor
public MethodDescriptor getQueryMethodDescriptor()
getIsEjbQl
public boolean getIsEjbQl()
setQuery
public void setQuery(java.lang.String query)
- Set the EJB-QL query (ejb-ql XML element). If query parameter
is null, or has no content, getIsEjbQl will return false.
Otherwise, getIsEjbQl will return true.
getQuery
public java.lang.String getQuery()
- Get the EJB-QL query (ejb-ql XML element)
getHasSQL
public boolean getHasSQL()
setSQL
public void setSQL(java.lang.String sql)
getSQL
public java.lang.String getSQL()
getHasNoReturnTypeMapping
public boolean getHasNoReturnTypeMapping()
getHasLocalReturnTypeMapping
public boolean getHasLocalReturnTypeMapping()
getHasRemoteReturnTypeMapping
public boolean getHasRemoteReturnTypeMapping()
setHasNoReturnTypeMapping
public void setHasNoReturnTypeMapping()
setHasLocalReturnTypeMapping
public void setHasLocalReturnTypeMapping()
setHasRemoteReturnTypeMapping
public void setHasRemoteReturnTypeMapping()
getReturnTypeMapping
public int getReturnTypeMapping()
print
public void print(java.lang.StringBuffer toStringBuffer)
- Description copied from class:
Descriptor
- A String representation of this object.
- Overrides:
print in class Descriptor
Copyright © 2012 GlassFish Community. All Rights Reserved.