Package jadex.common
Class FieldInfo
java.lang.Object
jadex.common.FieldInfo
Info about a class field.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the classname.getField
(ClassLoader cl) Get the field for the injection.getInner()
Get the inner field info, if any.getName()
Get the name.Get the typename.void
setClassName
(String classname) Set the classname.void
Set the name.void
setTypeName
(String typename) Set the typename.
-
Field Details
-
name
The field name. -
classname
The declaring class name. -
typename
The typename. -
field
The field (cached). -
inner
The inner field info, if any (used only for nested sub-sub-capabilities).
-
-
Constructor Details
-
FieldInfo
public FieldInfo()Create a new FieldInfo. -
FieldInfo
Create a new FieldInfo. -
FieldInfo
Create a new nested FieldInfo. -
FieldInfo
Create a new FieldInfo.
-
-
Method Details
-
getField
Get the field for the injection.- Parameters:
cl
- The classloader.fieldname
- The fieldname in case an expression string is saved in field name. If null the internal name is used.
-
getName
Get the name.- Returns:
- The name.
-
setName
Set the name.- Parameters:
name
- The name to set.
-
getClassName
Get the classname.- Returns:
- The classname.
-
setClassName
Set the classname.- Parameters:
classname
- The classname to set.
-
getTypeName
Get the typename.- Returns:
- The typename.
-
setTypeName
Set the typename.- Parameters:
typename
- The typename to set.
-
getInner
Get the inner field info, if any.
-