Package org.openjdk.jmc.common.item
Interface IAccessorKey<T>
-
- Type Parameters:
T
- Class type of the content type. Also matches the class of the values returned by associated member accessors.
- All Known Implementing Classes:
Attribute
public interface IAccessorKey<T>
Key used to get aIMemberAccessor
fromIType.getAccessor(IAccessorKey)
. Normally only used when introspecting anIType
to get a list of all known accessors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContentType<T>
getContentType()
The content type of this attribute.String
getIdentifier()
A identifier is a text string identifying the attribute.
-
-
-
Method Detail
-
getContentType
ContentType<T> getContentType()
The content type of this attribute. The type can be an opaque (or leaf) type in which case its instances can be of any class (but typically restricted according to the type). It can also be a structured type which has attributes (fields) of its own, in which case its instances currently must implementIItem
.- Returns:
- the content type of this attribute
-
getIdentifier
String getIdentifier()
A identifier is a text string identifying the attribute. It must never be localized and it should only contain characters that are safe to use in various configuration files, e.g. as XML tags. (Analogous toField.getName()
.)- Returns:
- the attribute identifier
-
-