|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jorm.metainfo.lib.BasicMetaObject
org.objectweb.jorm.metainfo.lib.BasicExtension
Constructor Summary | |
BasicExtension(Class inheritedClass,
MetaObject parent)
Builds a new BasicClassRef object. |
Method Summary | |
NameDef |
createRefNameDef()
Creates a new NameDef object for the current reference class object. |
java.lang.String |
getClassName()
Returns the name of the class ref. |
java.lang.String |
getFQName()
Returns the fully qualified name of the class ref. |
Logger |
getLogger()
Returns a logger to an component that wants to log things. |
LoggerFactory |
getLoggerFactory()
Returns a logger factory that allows the creation of new loggers. |
Class |
getMOClass()
Returns the Class object which describes the ClassRef entity. |
java.lang.String |
getName()
Returns the name of the current typed element. |
java.util.Collection |
getRefNameDef()
Returns an iterator on existing NameDef for the current Class. |
NameDef |
getRefNameDef(java.lang.String name)
Returns a NameDef object. |
PType |
getType()
Allows to know the type of the field. |
void |
setLogger(Logger logger)
Defines a logger object. |
void |
setLoggerFactory(LoggerFactory loggerFactory)
Defines the logger factory to obtain new logger. |
Methods inherited from class org.objectweb.jorm.metainfo.lib.BasicMetaObject |
getManager, getParent, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.jorm.metainfo.api.MetaObject |
getParent, setParent |
Constructor Detail |
public BasicExtension(Class inheritedClass, MetaObject parent)
inheritedClass
- the reference to the classparent
- the parent of the current objectMethod Detail |
public Class getMOClass()
getMOClass
in interface Extension
public java.lang.String getClassName()
getClassName
in interface Extension
public java.lang.String getFQName()
getFQName
in interface Extension
public java.lang.String getName()
getName
in interface TypedElement
public PType getType()
getType
in interface TypedElement
public NameDef createRefNameDef()
createRefNameDef
in interface Reference
public NameDef getRefNameDef(java.lang.String name)
getRefNameDef
in interface Reference
name
- the name of the NameDef object.
public java.util.Collection getRefNameDef()
getRefNameDef
in interface Reference
public void setLogger(Logger logger)
setLogger
in interface Loggable
logger
- the logger objectpublic void setLoggerFactory(LoggerFactory loggerFactory)
setLoggerFactory
in interface Loggable
loggerFactory
- the LoggerFactory object to obtain a logger objectpublic Logger getLogger()
Loggable
getLogger
in interface Loggable
public LoggerFactory getLoggerFactory()
Loggable
getLoggerFactory
in interface Loggable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |