de.uni_paderborn.fujaba.fsa
Class FSADerivePropertyMethodsCache

java.lang.Object
  extended byde.uni_paderborn.fujaba.fsa.FSADerivePropertyMethodsCache

public class FSADerivePropertyMethodsCache
extends java.lang.Object

cache FSAObject.derivePropertyMethods

Version:
$Revision: 1.15 $
Author:
$Author: lowende $

Field Summary
private static java.lang.String COLON
          No comment provided by developer, please add a comment to improve documentation.
private static java.lang.String GET_PREFIX
          No comment provided by developer, please add a comment to improve documentation.
private static java.lang.String HAS_PREFIX
          No comment provided by developer, please add a comment to improve documentation.
private static java.lang.String IS_PREFIX
          No comment provided by developer, please add a comment to improve documentation.
private static java.lang.String ITERATOROF_PREFIX
          No comment provided by developer, please add a comment to improve documentation.
private  java.util.TreeMap methodCache
          UMLAttribute : 'methodCache : TreeMap (umlIncr.getClass().getName():,Method[]) '
private static java.lang.String SET_PREFIX
          No comment provided by developer, please add a comment to improve documentation.
private static FSADerivePropertyMethodsCache theInstance
          the Singleton instance
 
Constructor Summary
private FSADerivePropertyMethodsCache()
          Default Constructor (private)
 
Method Summary
private  void addToMethodCache(java.lang.String key, java.lang.reflect.Method[] elem)
           
private  java.util.Iterator entriesOfMethodCache()
           
static FSADerivePropertyMethodsCache get()
          get the Singleton instance
private  java.lang.reflect.Method[] getFromMethodCache(java.lang.String key)
           
 java.lang.reflect.Method[] getPropertyMethods(java.lang.String propertyName, java.lang.Class objClass)
          Get the propertyMethods attribute of the FSADerivePropertyMethodsCache object
 java.lang.reflect.Method[] getPropertyMethods(java.lang.String propertyName, java.lang.Object obj)
          Get the propertyMethods attribute of the FSADerivePropertyMethodsCache object
private  boolean hasKeyInMethodCache(java.lang.String key)
           
private  java.util.Iterator iteratorOfMethodCache()
           
private  java.util.Iterator keysOfMethodCache()
           
private  void removeAllFromMethodCache()
           
private  void removeKeyFromMethodCache(java.lang.String key)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

theInstance

private static FSADerivePropertyMethodsCache theInstance
the Singleton instance


COLON

private static final transient java.lang.String COLON
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

GET_PREFIX

private static final transient java.lang.String GET_PREFIX
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

IS_PREFIX

private static final transient java.lang.String IS_PREFIX
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

HAS_PREFIX

private static final transient java.lang.String HAS_PREFIX
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

SET_PREFIX

private static final transient java.lang.String SET_PREFIX
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

ITERATOROF_PREFIX

private static final transient java.lang.String ITERATOROF_PREFIX
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

methodCache

private java.util.TreeMap methodCache
UMLAttribute : 'methodCache : TreeMap (umlIncr.getClass().getName():,Method[]) '

Constructor Detail

FSADerivePropertyMethodsCache

private FSADerivePropertyMethodsCache()
Default Constructor (private)

Method Detail

get

public static FSADerivePropertyMethodsCache get()
get the Singleton instance

Returns:
the Singleton instance

getPropertyMethods

public java.lang.reflect.Method[] getPropertyMethods(java.lang.String propertyName,
                                                     java.lang.Object obj)
Get the propertyMethods attribute of the FSADerivePropertyMethodsCache object

Parameters:
propertyName - No description provided
obj - No description provided
Returns:
The propertyMethods value

getPropertyMethods

public java.lang.reflect.Method[] getPropertyMethods(java.lang.String propertyName,
                                                     java.lang.Class objClass)
Get the propertyMethods attribute of the FSADerivePropertyMethodsCache object

Parameters:
propertyName - No description provided
objClass - No description provided
Returns:
The propertyMethods value

hasKeyInMethodCache

private boolean hasKeyInMethodCache(java.lang.String key)
Parameters:
key - No description provided
Returns:
No description provided
See Also:
methodCache

iteratorOfMethodCache

private java.util.Iterator iteratorOfMethodCache()
Returns:
No description provided
See Also:
methodCache

keysOfMethodCache

private java.util.Iterator keysOfMethodCache()
Returns:
No description provided
See Also:
methodCache

entriesOfMethodCache

private java.util.Iterator entriesOfMethodCache()
Returns:
No description provided
See Also:
methodCache

getFromMethodCache

private java.lang.reflect.Method[] getFromMethodCache(java.lang.String key)
Parameters:
key - No description provided
Returns:
The fromMethodCache value
See Also:
methodCache

addToMethodCache

private void addToMethodCache(java.lang.String key,
                              java.lang.reflect.Method[] elem)
Parameters:
key - The object added.
elem - The object added.
See Also:
methodCache

removeKeyFromMethodCache

private void removeKeyFromMethodCache(java.lang.String key)
Parameters:
key - No description provided
See Also:
methodCache

removeAllFromMethodCache

private void removeAllFromMethodCache()
See Also:
methodCache

toString

public java.lang.String toString()
Returns:
short string representation of current object