Static Public Member Functions | |
static void | setCacheable (FeatureDescriptor featureDescriptor, boolean cacheable) |
static Boolean | isCacheable (FeatureDescriptor featureDescriptor) |
static void | setExpandable (FeatureDescriptor featureDescriptor, boolean expandable) |
static boolean | isExpandable (FeatureDescriptor featureDescriptor) |
static void | setDefaultAction (FeatureDescriptor featureDescriptor, String defaultAction) |
static void | setDefaultAction (BeanInfo beanInfo, String defaultAction) |
static String | getDefaultAction (FeatureDescriptor featureDescriptor) |
static String | getDefaultAction (BeanInfo beanInfo) |
static void | addActions (FeatureDescriptor featureDescriptor, String[] actions) |
static String[] | getActions (FeatureDescriptor featureDescriptor) |
static String[] | getActions (BeanInfo beanInfo) |
static void | addActions (BeanInfo beanInfo, String[] actions) |
Utility class that can tag a Property or a BeanInfo to add information to it. The available static methods describe what information it is possible to add.
static void cern.gp.beans.BeanTagger.addActions | ( | FeatureDescriptor | featureDescriptor, | |
String[] | actions | |||
) | [static] |
Adds classes of available actions to this descriptor. If the featureDescriptor already defines some actions the existing ones and the new ones are merged together.
actionClasses | an array of the class of available action(s) |
References cern.gp.beans.BeanTagger.getActions().
Referenced by cern.gp.beans.BeanTagger.addActions().
static void cern.gp.beans.BeanTagger.addActions | ( | BeanInfo | beanInfo, | |
String[] | actions | |||
) | [static] |
Adds classes of available actions to this BeanInfo. If the BeanInfo already defines some actions the existing ones and the new ones are merged together.
actionClasses | an array of the class of available action(s) |
References cern.gp.beans.BeanTagger.addActions().
static String [] cern.gp.beans.BeanTagger.getActions | ( | FeatureDescriptor | featureDescriptor | ) | [static] |
Gets the class of available actions for this descriptor
Referenced by cern.gp.beans.BeanTagger.addActions(), and cern.gp.beans.BeanTagger.getActions().
static String [] cern.gp.beans.BeanTagger.getActions | ( | BeanInfo | beanInfo | ) | [static] |
Gets the class of available actions for this BeanInfo
References cern.gp.beans.BeanTagger.getActions().
static String cern.gp.beans.BeanTagger.getDefaultAction | ( | BeanInfo | beanInfo | ) | [static] |
Gets the default action qualified name for this BeanInfo
beanInfo | the BeanInfo to get the default action from |
References cern.gp.beans.BeanTagger.getDefaultAction().
static String cern.gp.beans.BeanTagger.getDefaultAction | ( | FeatureDescriptor | featureDescriptor | ) | [static] |
Gets the default action qualified name for this FeatureDescriptor
featureDescriptor | the FeatureDescriptor to get the default action from |
Referenced by cern.gp.beans.BeanTagger.getDefaultAction().
static Boolean cern.gp.beans.BeanTagger.isCacheable | ( | FeatureDescriptor | featureDescriptor | ) | [static] |
Checks if the given FeatureDescriptor
is cacheable
FeatureDescriptor
is cacheable. static boolean cern.gp.beans.BeanTagger.isExpandable | ( | FeatureDescriptor | featureDescriptor | ) | [static] |
Checks if this FeatureDescriptor
is expandable which neams that it can be expanded into a list of more FeatureDescriptors
FeatureDescriptor
is expandable. static void cern.gp.beans.BeanTagger.setCacheable | ( | FeatureDescriptor | featureDescriptor, | |
boolean | cacheable | |||
) | [static] |
Adds the information that this FeatureDescriptor
is cacheable which neams that its value(s) can be cached. If it is a PropertyDescriptor
it means that the value of the property can be cached. If it is a BeanDescriptor
it means that all property values can be cached
featureDescriptor | the FeatureDescriptor to tag as expandable. | |
cacheable | whether the value(s) of the FeatureDescriptor can be cached or not |
static void cern.gp.beans.BeanTagger.setDefaultAction | ( | FeatureDescriptor | featureDescriptor, | |
String | defaultAction | |||
) | [static] |
Sets the default action qualified name for this FeatureDescriptor
featureDescriptor | the FeatureDescriptor to tag with the default action | |
defaultAction | the qualified name of the default action |
Referenced by cern.gp.beans.BeanTagger.setDefaultAction().
static void cern.gp.beans.BeanTagger.setDefaultAction | ( | BeanInfo | beanInfo, | |
String | defaultAction | |||
) | [static] |
Sets the default action qualified name for this BeanInfo
beanInfo | the BeanInfo to tag with the default action. | |
defaultAction | the qualified name of the default action |
References cern.gp.beans.BeanTagger.setDefaultAction().
static void cern.gp.beans.BeanTagger.setExpandable | ( | FeatureDescriptor | featureDescriptor, | |
boolean | expandable | |||
) | [static] |
Adds the information that this FeatureDescriptor
is expandable which neams that it can be expanded into a list of more FeatureDescriptors
featureDescriptor | the FeatureDescriptor to tag as expandable. | |
expandable | whether the FeatureDescriptor is expandable or not |