Class FeatureDescriptor
- java.lang.Object
-
- jadex.commons.beans.FeatureDescriptor
-
- Direct Known Subclasses:
BeanDescriptor
,EventSetDescriptor
,MethodDescriptor
,ParameterDescriptor
,PropertyDescriptor
public class FeatureDescriptor extends java.lang.Object
Common base class for Descriptors.
-
-
Constructor Summary
Constructors Constructor Description FeatureDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Enumeration<java.lang.String>
attributeNames()
java.lang.String
getDisplayName()
getName()
if not set.java.lang.String
getName()
java.lang.String
getShortDescription()
getDisplayName()
if not set.java.lang.Object
getValue(java.lang.String attributeName)
boolean
isExpert()
boolean
isHidden()
boolean
isPreferred()
void
setDisplayName(java.lang.String displayName)
void
setExpert(boolean expert)
void
setHidden(boolean hidden)
void
setName(java.lang.String name)
void
setPreferred(boolean preferred)
void
setShortDescription(java.lang.String text)
void
setValue(java.lang.String attributeName, java.lang.Object value)
-
-
-
Constructor Detail
-
FeatureDescriptor
public FeatureDescriptor()
-
Method Detail
-
setValue
public void setValue(java.lang.String attributeName, java.lang.Object value)
- Parameters:
attributeName
- The name of the attribute to set a value with.value
- The value to set.
-
getValue
public java.lang.Object getValue(java.lang.String attributeName)
- Parameters:
attributeName
- The name of the attribute to get a value for.- Returns:
- The attribute's value.
-
attributeNames
public java.util.Enumeration<java.lang.String> attributeNames()
- Returns:
- An instance of
Enumeration
.
-
setShortDescription
public void setShortDescription(java.lang.String text)
- Parameters:
text
- The description to set.
-
-
-
-