Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.jdeveloper.deploy.sp
Class PlsqlMethod

java.lang.Object
  extended by oracle.javatools.data.HashStructureAdapter
      extended by oracle.jdeveloper.deploy.dt.DeployElement
          extended by oracle.jdeveloper.deploy.sp.PlsqlMethod
All Implemented Interfaces:
Displayable, Element, SubDirtyable, Subject, Dirtyable, Deployable, LinkedDirtyable
Direct Known Subclasses:
PlsqlPackagedFunction, PlsqlPackagedProcedure, PlsqlTopLevelMethod

public class PlsqlMethod
extends DeployElement

Abstract base data model representing common aspects of PL/SQL procedures and functions.


Field Summary
static java.lang.String ACTION_DELETE
           
static java.lang.String ACTION_EDIT_METHOD_SIGNATURE
           
static java.lang.String ACTION_PREVIEW_SQL_STATEMENT
           
 
Fields inherited from class oracle.javatools.data.HashStructureAdapter
_hash
 
Constructor Summary
PlsqlMethod()
          Default constructor required for JavaBean status.
 
Method Summary
 java.lang.Object copyTo(java.lang.Object object)
          Copy support.
protected  void copyToImpl(PlsqlMethod copy)
          Design pattern for supporting strongly typed copying.
 boolean equals(java.lang.Object o)
          Equals support.
protected  boolean equalsImpl(PlsqlMethod plsqlMethod)
          This is a helper method for equals(Object) that can also be used by subclasses that implement equals(Object).
 java.lang.String getLongLabel()
          This implementation delegates to DeployElement.getShortLabel().
 MethodSignature getMethodSignature()
          Returns the current MethodSignature.
 java.lang.String getShortLabel()
          Returns a short label that can be displayed to the user.
 void setMethodSignature(MethodSignature methodSignature)
          A null MethodSignature will cause the method to be skipped during deployment.
 
Methods inherited from class oracle.jdeveloper.deploy.dt.DeployElement
attach, detach, getAttributes, getChildren, getData, getIcon, getToolTipText, isDirty, linkContainingDirtyable, linkEmbeddedDirtyable, linkEmbeddedDirtyable, linkEmbeddedDirtyables, markDirty, mayHaveChildren, notifyObservers, setOwner, toString, unlinkContainingDirtyable, unlinkEmbeddedDirtyable, unlinkEmbeddedDirtyable, unlinkEmbeddedDirtyables
 
Methods inherited from class oracle.javatools.data.HashStructureAdapter
addStructureChangeListener, containsKey, copyToImpl, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ACTION_EDIT_METHOD_SIGNATURE

public static final java.lang.String ACTION_EDIT_METHOD_SIGNATURE
See Also:
Constant Field Values

ACTION_PREVIEW_SQL_STATEMENT

public static final java.lang.String ACTION_PREVIEW_SQL_STATEMENT
See Also:
Constant Field Values

ACTION_DELETE

public static final java.lang.String ACTION_DELETE
See Also:
Constant Field Values
Constructor Detail

PlsqlMethod

public PlsqlMethod()
Default constructor required for JavaBean status.

Method Detail

copyTo

public java.lang.Object copyTo(java.lang.Object object)
Description copied from class: HashStructureAdapter
Copy support. The specified target must not be null and must be the exact same type as this instance.

Overrides:
copyTo in class HashStructureAdapter

copyToImpl

protected final void copyToImpl(PlsqlMethod copy)
Design pattern for supporting strongly typed copying.


getMethodSignature

public MethodSignature getMethodSignature()
Returns the current MethodSignature.


setMethodSignature

public void setMethodSignature(MethodSignature methodSignature)
A null MethodSignature will cause the method to be skipped during deployment.


getShortLabel

public java.lang.String getShortLabel()
Description copied from interface: Displayable
Returns a short label that can be displayed to the user. Generally, the value of the returned String is considered translatable and should therefore be placed in an appropriate resource file. When possible, the returned label should be reasonably short enough to show in the navigator or explorer windows but long enough to clearly identify and distinguish the Displayable.

Specified by:
getShortLabel in interface Displayable
Overrides:
getShortLabel in class DeployElement
Returns:
a short descriptive label of the Displayable that can be shown to the user.

getLongLabel

public java.lang.String getLongLabel()
Description copied from class: DeployElement
This implementation delegates to DeployElement.getShortLabel().

Specified by:
getLongLabel in interface Displayable
Overrides:
getLongLabel in class DeployElement
Returns:
a long descriptive label of the Displayable that can be shown to the user.
See Also:
Displayable.getLongLabel()

equals

public boolean equals(java.lang.Object o)
Description copied from class: HashStructureAdapter
Equals support. As long as the subclass stores all data in the HashStructureAdapter._hash, this base equals implementation should be sufficient and not need to be overridden.

Overrides:
equals in class HashStructureAdapter

equalsImpl

protected final boolean equalsImpl(PlsqlMethod plsqlMethod)
This is a helper method for equals(Object) that can also be used by subclasses that implement equals(Object). It assumes that the argument is not null.


Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.