Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.jdeveloper.refactoring.dependency
Class IdDeclarationRenameCriteria

java.lang.Object
  extended by oracle.jdeveloper.refactoring.model.AbstractSearchCriteria
      extended by oracle.jdeveloper.refactoring.dependency.IdDeclarationRenameCriteria
All Implemented Interfaces:
oracle.ide.refactoring.SearchCriteria, oracle.jdeveloper.refactoring.model.OperationSearchCriteria

public class IdDeclarationRenameCriteria
extends oracle.jdeveloper.refactoring.model.AbstractSearchCriteria

Refactoring criteria to rename a declaration.


Field Summary
 
Fields inherited from interface oracle.jdeveloper.refactoring.model.SearchCriteria
TYPE_CHANGE_METHOD, TYPE_ENCAPSULATE_FIELDS, TYPE_EXTRACT_CLASS, TYPE_EXTRACT_INTERFACE, TYPE_EXTRACT_SUPERCLASS, TYPE_INTRODUCE_PO, TYPE_MOVE_CLASSES, TYPE_MOVE_FILES, TYPE_PUSH_DOWN, TYPE_REFACTORING_FLAG, TYPE_RENAME_FIELD, TYPE_RENAME_METHOD, TYPE_RENAME_VARIABLE, TYPE_REPLACE_TEXT, TYPE_SAFEDELETE_CLASS, TYPE_SAFEDELETE_FIELD, TYPE_SAFEDELETE_FILE, TYPE_SAFEDELETE_METHOD, TYPE_SAFEDELETE_VARIABLE, TYPE_SEARCH_ANNOTATION, TYPE_SEARCH_CLASS, TYPE_SEARCH_CONSTRUCTOR, TYPE_SEARCH_FIELD, TYPE_SEARCH_FILES, TYPE_SEARCH_METHOD, TYPE_SEARCH_PACKAGE, TYPE_SEARCH_VARIABLE, TYPE_USE_SUPERTYPE
 
Fields inherited from interface oracle.ide.refactoring.SearchCriteria
TYPE_FLAG_DELETE_FILES, TYPE_FLAG_RENAME_FILES
 
Constructor Summary
IdDeclarationRenameCriteria(java.lang.String title, java.util.Map<IdDeclaration,java.lang.String> map)
           
 
Method Summary
 java.util.Collection<IdDeclaration> getDeclarations()
          Get the declarations being renamed.
 java.lang.String getNewDeclarationId(java.lang.String id)
          Get the new declaration ID.
 java.lang.String getOperationName()
           
 int getSearchType()
           
 java.lang.String getShortTitle()
           
 
Methods inherited from class oracle.jdeveloper.refactoring.model.AbstractSearchCriteria
getLongTitle, getScope, isValid, verifySearchResults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdDeclarationRenameCriteria

public IdDeclarationRenameCriteria(java.lang.String title,
                                   java.util.Map<IdDeclaration,java.lang.String> map)
Method Detail

getDeclarations

public java.util.Collection<IdDeclaration> getDeclarations()
Get the declarations being renamed.

Returns:
the declarations being renamed

getNewDeclarationId

public java.lang.String getNewDeclarationId(java.lang.String id)
Get the new declaration ID.

Parameters:
id - the old declaration ID
Returns:
the new declaration ID

getSearchType

public int getSearchType()
Specified by:
getSearchType in interface oracle.ide.refactoring.SearchCriteria
Specified by:
getSearchType in class oracle.jdeveloper.refactoring.model.AbstractSearchCriteria

getOperationName

public java.lang.String getOperationName()

getShortTitle

public java.lang.String getShortTitle()
Specified by:
getShortTitle in interface oracle.ide.refactoring.SearchCriteria
Specified by:
getShortTitle in class oracle.jdeveloper.refactoring.model.AbstractSearchCriteria

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

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