|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ojb.broker.metadata.DescriptorBase
org.apache.ojb.broker.metadata.ProcedureDescriptor
org.apache.ojb.broker.metadata.InsertProcedureDescriptor
public class InsertProcedureDescriptor
An InsertProcedureDescriptor contains information that is related to the
procedure/function that is used to handle the insertion of new records.
Note: Be careful when use InsertProcedureDescriptor variables or caching
InsertProcedureDescriptor instances, because instances could become invalid
during runtime (see MetadataManager).
| Field Summary | |
|---|---|
private boolean |
includeAllFields
The value that indicates if the argument list for this procedure includes all field-descriptors from the related class-descriptor. |
private static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
InsertProcedureDescriptor(ClassDescriptor classDescriptor,
String name,
boolean includeAllFields)
Constructor declaration |
|
| Method Summary | |
|---|---|
void |
addArgument(ArgumentDescriptor argument)
Add an argument |
boolean |
getIncludeAllFields()
Retrieve the value that indicates if the argument list for this procedure includes all field-descriptors from the related class-descriptor. |
String |
toString()
Provide a string representation of this object |
String |
toXML()
returns the XML marshalled version of this instance. |
| Methods inherited from class org.apache.ojb.broker.metadata.ProcedureDescriptor |
|---|
addArguments, getArgumentCount, getArguments, getClassDescriptor, getName, getReturnValueFieldRef, getReturnValueFieldRefName, hasReturnValue, hasReturnValues, setReturnValueFieldRef, setReturnValueFieldRef |
| Methods inherited from class org.apache.ojb.broker.metadata.DescriptorBase |
|---|
addAttribute, getAttribute, getAttribute, getAttributeNames, getAttributes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private boolean includeAllFields
| Constructor Detail |
|---|
public InsertProcedureDescriptor(ClassDescriptor classDescriptor,
String name,
boolean includeAllFields)
| Method Detail |
|---|
public boolean getIncludeAllFields()
public final void addArgument(ArgumentDescriptor argument)
The argument will be added only if this procedure is not configured
to include all arguments.
addArgument in class ProcedureDescriptorpublic String toXML()
XmlCapable
toXML in interface XmlCapabletoXML in class ProcedureDescriptorpublic String toString()
toString in class DescriptorBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||