|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MetaData
MetaData.
| Field Summary | |
|---|---|
static Annotation[] |
NO_ANNOTATIONS
No annotations |
static Object[] |
NO_METADATA
No meta data |
| Method Summary | ||
|---|---|---|
|
getAnnotation(Class<T> annotationType)
Get annotation |
|
Annotation[] |
getAnnotations()
Get all the annotations |
|
MetaData |
getComponentMetaData(Signature signature)
Get the component metadata |
|
Annotation[] |
getLocalAnnotations()
Get all the local annotations |
|
Object[] |
getLocalMetaData()
Get all the local metadata |
|
Object[] |
getMetaData()
Get all the metadata |
|
|
getMetaData(Class<T> type)
Get metadata |
|
Object |
getMetaData(String name)
Get metadata |
|
|
getMetaData(String name,
Class<T> type)
Get metadata |
|
MetaData |
getScopeMetaData(ScopeLevel level)
Get the scope metadata. |
|
long |
getValidTime()
Get the valid time |
|
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationType)
Is the annotation present? |
|
boolean |
isEmpty()
Is metadata empty. |
|
boolean |
isMetaDataPresent(Class<?> type)
Is the metadata present |
|
boolean |
isMetaDataPresent(String name)
Is the metadata present |
|
boolean |
isMetaDataPresent(String name,
Class<?> type)
Is the metadata present |
|
| Field Detail |
|---|
static final Annotation[] NO_ANNOTATIONS
static final Object[] NO_METADATA
| Method Detail |
|---|
long getValidTime()
<T extends Annotation> T getAnnotation(Class<T> annotationType)
T - the annotation typeannotationType - the annotation type
Annotation[] getAnnotations()
Annotation[] getLocalAnnotations()
boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
annotationType - the annotation type
<T> T getMetaData(Class<T> type)
T - the metadata typetype - the type
Object[] getMetaData()
Object[] getLocalMetaData()
boolean isMetaDataPresent(Class<?> type)
type - the type of the meta data
Object getMetaData(String name)
name - the name of the meta data
<T> T getMetaData(String name,
Class<T> type)
T - the metadata typename - the name of the meta datatype - the expected type of the metadata
boolean isMetaDataPresent(String name)
name - the name of the meta data
boolean isMetaDataPresent(String name,
Class<?> type)
name - the name of the meta datatype - the expected type of the metadata
MetaData getComponentMetaData(Signature signature)
signature - the signature
MetaData getScopeMetaData(ScopeLevel level)
level - the scope level
boolean isEmpty()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||