public interface SmooksMetadata
| Modifier and Type | Field and Description |
|---|---|
static String |
ANNOTATION_TYPE |
static String |
ANNOTATION_TYPE_KEY |
static String |
COMPONENT_TYPE |
static String |
FIELD_TYPE |
static SmooksMetadata |
INSTANCE
SINGLETON instance
|
static String |
SEGCODE |
static String |
SEGMENT_GROUP_TYPE |
static String |
SEGMENT_TYPE |
| Modifier and Type | Method and Description |
|---|---|
String |
getSegcode(org.eclipse.emf.ecore.EModelElement element)
Return segcode or throws
IllegalArgumentException |
org.eclipse.emf.ecore.EAnnotation |
getSmooksAnnotation(org.eclipse.emf.ecore.EModelElement element)
Returns
EAnnotation or throws IllegalArgumentException |
boolean |
isComponent(org.eclipse.emf.ecore.EModelElement feature)
Returns true of false or throws
IllegalArgumentException |
boolean |
isField(org.eclipse.emf.ecore.EModelElement element)
Returns true or false or throws
IllegalArgumentException |
boolean |
isSegment(org.eclipse.emf.ecore.EModelElement element)
Returns true if given
EModelElement annotated as segment |
boolean |
isSegmentGroup(org.eclipse.emf.ecore.EModelElement element)
Returns true if given
EModelElement has annotation type group |
static final String ANNOTATION_TYPE
static final String SEGMENT_TYPE
static final String SEGMENT_GROUP_TYPE
static final String FIELD_TYPE
static final String COMPONENT_TYPE
static final String ANNOTATION_TYPE_KEY
static final String SEGCODE
static final SmooksMetadata INSTANCE
org.eclipse.emf.ecore.EAnnotation getSmooksAnnotation(org.eclipse.emf.ecore.EModelElement element)
EAnnotation or throws IllegalArgumentExceptionelement - boolean isSegment(org.eclipse.emf.ecore.EModelElement element)
EModelElement annotated as segmentelement - String getSegcode(org.eclipse.emf.ecore.EModelElement element)
IllegalArgumentExceptionfeature - boolean isSegmentGroup(org.eclipse.emf.ecore.EModelElement element)
EModelElement has annotation type groupfeature - boolean isField(org.eclipse.emf.ecore.EModelElement element)
IllegalArgumentExceptionelement - boolean isComponent(org.eclipse.emf.ecore.EModelElement feature)
IllegalArgumentExceptionfeature - Copyright © 2020. All rights reserved.