Interface IMetaField
-
- All Known Implementing Classes:
AbstractIvmlFieldDescriptor,CompoundTypeDescriptor.SlotDescriptor,FieldDescriptor,IvmlAccessorFieldDescriptor,IvmlAnnotationFieldDescriptor,IvmlConfigurationFieldDescriptor,ReflectionFieldDescriptor
public interface IMetaFieldRepresents a data field.- Author:
- Holger Eichelberger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetJavaSignature()Returns the java-like signature of this operation.java.lang.StringgetName()Returns the name of the method.java.lang.StringgetSignature()Returns the signature of the method (in terms of VIL types where possible).IMetaTypegetType()Returns the type of this attribute.booleanisReadOnly()Returns whether the field is read-only.booleanisStatic()Returns whether the field is static.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Returns the name of the method.- Returns:
- the name of the method
-
getJavaSignature
java.lang.String getJavaSignature()
Returns the java-like signature of this operation.- Returns:
- the java-like Java signature of this operation
-
getSignature
java.lang.String getSignature()
Returns the signature of the method (in terms of VIL types where possible).- Returns:
- the signature of the method
-
getType
IMetaType getType()
Returns the type of this attribute.- Returns:
- the type
-
isReadOnly
boolean isReadOnly()
Returns whether the field is read-only. Please note that this method provides a "static" information, i.e., it cannot change during script execution. If a field can be modified at all, this method shall returntrueand determine when the value is changed, whether the actual access is permitted. In contrast, if it is known that the field cannot be changed at all, this method shall returnfalse.- Returns:
trueif the field is read-only,falseelse
-
isStatic
boolean isStatic()
Returns whether the field is static.- Returns:
trueif the field is static,falseelse
-
-