|
||||||||||
| 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 |
|
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 retrieval| Method Detail |
|---|
public long getValidTime()
MetaData
getValidTime in interface MetaDatapublic <T extends Annotation> T getAnnotation(Class<T> annotationType)
MetaData
getAnnotation in interface MetaDataT - the annotation typeannotationType - the annotation type
public Annotation[] getAnnotations()
MetaData
getAnnotations in interface MetaDatapublic Annotation[] getLocalAnnotations()
MetaData
getLocalAnnotations in interface MetaDatapublic Object[] getMetaData()
MetaData
getMetaData in interface MetaDatapublic Object[] getLocalMetaData()
MetaData
getLocalMetaData in interface MetaDatapublic <T> T getMetaData(Class<T> type)
MetaData
getMetaData in interface MetaDataT - the metadata typetype - the type
public <T> T getMetaData(String name,
Class<T> type)
MetaData
getMetaData in interface MetaDataT - the metadata typename - the name of the meta datatype - the expected type of the metadata
public Object getMetaData(String name)
MetaData
getMetaData in interface MetaDataname - the name of the meta data
public boolean isAnnotationPresent(Class<? extends Annotation> annotationType)
MetaData
isAnnotationPresent in interface MetaDataannotationType - the annotation type
public boolean isMetaDataPresent(Class<?> type)
MetaData
isMetaDataPresent in interface MetaDatatype - the type of the meta data
public boolean isMetaDataPresent(String name,
Class<?> type)
MetaData
isMetaDataPresent in interface MetaDataname - the name of the meta datatype - the expected type of the metadata
public boolean isMetaDataPresent(String name)
MetaData
isMetaDataPresent in interface MetaDataname - the name of the meta data
public MetaData getComponentMetaData(Signature signature)
MetaData
getComponentMetaData in interface MetaDatasignature - the signature
public MetaData getScopeMetaData(ScopeLevel level)
MetaData
getScopeMetaData in interface MetaDatalevel - the scope level
public boolean isEmpty()
MetaData
isEmpty in interface MetaDatapublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectprotected MetaDataRetrieval getMetaDataRetrieval()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||