public class OperationInfoEA extends OperationInfoImpl implements OperationInfo
Modifier and Type | Field and Description |
---|---|
protected boolean |
aliasAccessed
Flag used to prevent duplicate retrieval/computation of the alias of this
property.
|
protected ClassInfoEA |
classInfo
Class the operation belongs to
|
protected EADocument |
document
Access to the document object
|
protected org.sparx.Method |
eaMethod
EA method object
|
protected String |
eaName
Name of the operation
|
protected String |
eaOperationId
Model-unique id.
|
protected org.sparx.Collection<org.sparx.Parameter> |
eaParametersCache
Cache map for Parameters
|
protected boolean |
globalIdentifierAccessed
Flag used to prevent duplicate retrieval/computation of the
globalIdentifier of this class.
|
protected ClassInfoEA |
typeClassInfo |
protected Type |
typeInfo
Type information
|
descriptors, stereotypesCache, taggedValuesCache
Constructor and Description |
---|
OperationInfoEA(EADocument doc,
ClassInfoEA ci,
org.sparx.Method meth)
Create an OperationInfo object given an EA Method.
|
Modifier and Type | Method and Description |
---|---|
protected List<LangString> |
descriptorValues(Descriptor descriptor)
Look up the values for the descriptor, using the source as defined by the
configuration (or the default source, if the configuration does not state
anything regarding the source).
|
String |
id()
Return model-unique id of operation.
|
Model |
model()
Return EA model object.
|
String |
name()
Obtain the name of the property.
|
Options |
options()
Return options and configuration object.
|
int |
parameterCount()
Return the total number of parameters including __RETURN__
|
TreeMap<Integer,String> |
parameterNames()
Obtain the names all parameters of the operation.
|
TreeMap<Integer,String> |
parameterTypes()
Obtain the types of all parameters of the operation.
|
ShapeChangeResult |
result()
Return result object for error reporting.
|
void |
validateStereotypesCache() |
void |
validateTaggedValuesCache()
Create cache of stereotypes and tagged values
|
fullName, fullNameInSchema, language, postprocessAfterLoadingAndValidate
aliasName, compareTo, dataCaptureStatements, definition, derivedDocumentation, description, descriptors, descriptorSource, documentation, encodingRule, examples, globalIdentifier, legalBasis, matches, primaryCode, removeTaggedValue, setDescriptors, stereotype, stereotypes, taggedValue, taggedValueInLanguage, taggedValues, taggedValues, taggedValuesAll, taggedValuesForTag, taggedValuesForTagAsLangStrings, taggedValuesForTagList, taggedValuesInLanguage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
aliasName, dataCaptureStatements, definition, derivedDocumentation, description, descriptors, documentation, encodingRule, examples, fullName, fullNameInSchema, globalIdentifier, language, legalBasis, matches, postprocessAfterLoadingAndValidate, primaryCode, removeTaggedValue, stereotype, stereotypes, taggedValue, taggedValueInLanguage, taggedValues, taggedValues, taggedValuesAll, taggedValuesForTag, taggedValuesForTagAsLangStrings, taggedValuesForTagList, taggedValuesInLanguage
compareTo
protected boolean aliasAccessed
protected boolean globalIdentifierAccessed
protected EADocument document
protected ClassInfoEA classInfo
protected String eaOperationId
protected String eaName
protected Type typeInfo
protected ClassInfoEA typeClassInfo
protected org.sparx.Method eaMethod
protected org.sparx.Collection<org.sparx.Parameter> eaParametersCache
public OperationInfoEA(EADocument doc, ClassInfoEA ci, org.sparx.Method meth)
public int parameterCount()
parameterCount
in interface OperationInfo
public TreeMap<Integer,String> parameterNames()
parameterNames
in interface OperationInfo
public TreeMap<Integer,String> parameterTypes()
parameterTypes
in interface OperationInfo
public Options options()
public ShapeChangeResult result()
public void validateStereotypesCache()
validateStereotypesCache
in interface Info
public void validateTaggedValuesCache()
Info
validateTaggedValuesCache
in interface Info
protected List<LangString> descriptorValues(Descriptor descriptor)
InfoImpl
descriptorValues
in class InfoImpl
Copyright © 2017. All rights reserved.