|
JBoss MetaData Repository 2.2.0.SP1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.metadata.spi.retrieval.MetaDataRetrievalToMetaDataBridge
public class MetaDataRetrievalToMetaDataBridge
MetaDataRetrievalToMetaDataBridge.
Field Summary |
---|
Fields inherited from interface org.jboss.metadata.spi.MetaData |
---|
NO_ANNOTATIONS, NO_METADATA |
Constructor Summary | |
---|---|
MetaDataRetrievalToMetaDataBridge(MetaDataRetrieval retrieval)
Create a new MetaDataRetrievalToMetaDataBridge. |
Method Summary | ||
---|---|---|
boolean |
equals(Object obj)
|
|
|
getAnnotation(Class<T> annotationType)
Get annotation |
|
Annotation[] |
getAnnotations()
Get all the annotations |
|
Annotation[] |
getAnnotationsAnnotatedWith(Class<? extends Annotation> meta)
Get all the annotations annotated with the given meta annotation |
|
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 |
|
protected MetaDataRetrieval |
getMetaDataRetrieval()
Get the meta data retrieval |
|
MetaData |
getScopeMetaData(ScopeLevel level)
Get the scope metadata. |
|
long |
getValidTime()
Get the valid time |
|
int |
hashCode()
|
|
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 |
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MetaDataRetrievalToMetaDataBridge(MetaDataRetrieval retrieval)
retrieval
- the retrievalMethod Detail |
---|
public long getValidTime()
MetaData
getValidTime
in interface MetaData
public <T extends Annotation> T getAnnotation(Class<T> annotationType)
MetaData
getAnnotation
in interface MetaData
T
- the annotation typeannotationType
- the annotation type
public Annotation[] getAnnotations()
MetaData
getAnnotations
in interface MetaData
public Annotation[] getLocalAnnotations()
MetaData
getLocalAnnotations
in interface MetaData
public Annotation[] getAnnotationsAnnotatedWith(Class<? extends Annotation> meta)
MetaData
getAnnotationsAnnotatedWith
in interface MetaData
meta
- the meta annotation
public Object[] getMetaData()
MetaData
getMetaData
in interface MetaData
public Object[] getLocalMetaData()
MetaData
getLocalMetaData
in interface MetaData
public <T> T getMetaData(Class<T> type)
MetaData
getMetaData
in interface MetaData
T
- the metadata typetype
- the type
public <T> T getMetaData(String name, Class<T> type)
MetaData
getMetaData
in interface MetaData
T
- the metadata typename
- the name of the meta datatype
- the expected type of the metadata
public Object getMetaData(String name)
MetaData
getMetaData
in interface MetaData
name
- the name of the meta data
public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
MetaData
isAnnotationPresent
in interface MetaData
annotationType
- the annotation type
public boolean isMetaDataPresent(Class<?> type)
MetaData
isMetaDataPresent
in interface MetaData
type
- the type of the meta data
public boolean isMetaDataPresent(String name, Class<?> type)
MetaData
isMetaDataPresent
in interface MetaData
name
- the name of the meta datatype
- the expected type of the metadata
public boolean isMetaDataPresent(String name)
MetaData
isMetaDataPresent
in interface MetaData
name
- the name of the meta data
public MetaData getComponentMetaData(Signature signature)
MetaData
getComponentMetaData
in interface MetaData
signature
- the signature
public MetaData getScopeMetaData(ScopeLevel level)
MetaData
getScopeMetaData
in interface MetaData
level
- the scope level
public boolean isEmpty()
MetaData
isEmpty
in interface MetaData
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
protected MetaDataRetrieval getMetaDataRetrieval()
|
JBoss MetaData Repository 2.2.0.SP1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |