|
SAP NetWeaver 7.4 (SP03) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICMIAnnotationInfo
Metadata for an annotation. Mainly provides name and type information and whether the information is static or if it depends on the model class instance.
| Name | Type | Static | Description |
|---|---|---|---|
| ENABLED | boolean | false | Whether or not the annotated entity is enabled (visible) in the current context. |
| MANDATORY | boolean | false | Whether or not the annotated entity is mandatory in the current context. |
| READ_ONLY | boolean | false | Whether or not the annotated entity can be modified or not in the current context. |
Type Classification:
This interface is part of the Common Model Interface and is intended to be implemented by applications.
| Field Summary | |
|---|---|
static String |
COLLECTION_HAS_BEEN_TRUNCATED
Predefined annotation name. |
static String |
ENABLED
Predefined annotation name. |
static String |
MANDATORY
Predefined annotation name. |
static ICMIAnnotationInfo[] |
NONE
Empty array of annotation infos. |
static String |
ORIGINAL_COLLECTION_SIZE
Predefined annotation name. |
static String |
READ_ONLY
Predefined annotation name. |
static String |
VIRTUAL
Predefined annotation name. |
static String |
WRITE_VALID_DATA_ONLY
Predefined annotation name. |
| Method Summary | |
|---|---|
String |
getName()
Retuns the name of this annotation. |
com.sap.dictionary.runtime.IDataType |
getType()
Returns the type of this annotation. |
boolean |
isStatic()
Whether the annotation is static (equal for all instances) or not (value depends on time and model class instance). |
| Field Detail |
|---|
static final ICMIAnnotationInfo[] NONE
static final String ENABLED
static final String READ_ONLY
static final String MANDATORY
static final String WRITE_VALID_DATA_ONLY
static final String COLLECTION_HAS_BEEN_TRUNCATED
static final String ORIGINAL_COLLECTION_SIZE
static final String VIRTUAL
| Method Detail |
|---|
String getName()
com.sap.dictionary.runtime.IDataType getType()
boolean isStatic()
ICMIAnnotatedClass and must answer
calls for this annotation.
No matter whether an annotation is static or not, a class info always must answer
calls for all their annotations. So a non static annotation can be queried on the
class info (but then will only reflect some "default" value, not a value for any
specific instance).
Note:
false if any of the annotations for an annotated class is not static, otherwise true| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] FRAMEWORK
|
[sap.com] tc/cm/ejb/api
|
api
|
BC-JAS-EJB
|
[sap.com] FRAMEWORK
|
[sap.com] tc/cmi
|
default
|
BC-WD-JAV-RUN
|
|
SAP NetWeaver 7.4 (SP03) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||