public interface Introspector<T extends Property>
Modifier and Type | Method and Description |
---|---|
void |
addProperty(T property)
Adds a new property.
|
T |
getProperty(String name)
Gets the property with the specified name.
|
int |
getPropertyCount()
Gets the property count.
|
String[] |
getPropertyNames()
Gets the properties names in an array.
|
void |
removeProperty(String name)
Removes the property with the specified name.
|
int getPropertyCount()
T getProperty(String name)
name
- the property name.void removeProperty(String name)
name
- the property name.void addProperty(T property)
property
- a new propertyString[] getPropertyNames()