|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UnitLiteral
A representation of the model object 'Unit Literal'.
The following features are supported:
PropertyPackage.getUnitLiteral()
Field Summary | |
---|---|
static java.lang.String |
copyright
|
Method Summary | |
---|---|
double |
getAbsoluteFactor()
Get the absolute relationship between this literal and the ground literal. |
double |
getAbsoluteFactor(UnitLiteral target)
get conversion factor in terms of specified unit |
UnitLiteral |
getBaseunit()
Returns the value of the 'Baseunit' reference |
NumberValue |
getFactor()
Returns the value of the 'Factor' containment reference. |
ParsedPropertyReference |
getParsedPropertyReference()
returns parsed property reference |
void |
setBaseunit(UnitLiteral value)
Sets the value of the ' Baseunit ' reference |
void |
setFactor(NumberValue value)
Sets the value of the ' Factor ' containment reference |
void |
setParsedPropertyReference(ParsedPropertyReference pr)
sets parsed name of unitliteral |
void |
setParsedUnitLiteral(java.lang.String pr,
java.lang.String file,
int line)
sets parsed name of unitliteral |
Methods inherited from interface edu.cmu.sei.aadl.model.property.EnumLiteral |
---|
compare |
Methods inherited from interface edu.cmu.sei.aadl.model.core.NamedElement |
---|
getName, setName |
Methods inherited from interface edu.cmu.sei.aadl.model.core.AObject |
---|
addComment, getAadlSpec, getAObjectRoot, getChildren, getComment, getContainingClassifier, getContainingClassifierNameSpace, getContainingComponentImpl, getContainingComponentType, getContainingPropertyAssociationDefinitionConstant, getContainingSubcomponent, getLocationReference, getReferencedObject, getSecondReferencedObject, getSystemInstance, setLocationReference, setLocationReference |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Field Detail |
---|
static final java.lang.String copyright
Method Detail |
---|
UnitLiteral getBaseunit()
If the meaning of the 'Baseunit' reference isn't clear, there really should be more of a description here...
setBaseunit(UnitLiteral)
,
PropertyPackage.getUnitLiteral_Baseunit()
void setBaseunit(UnitLiteral value)
Baseunit
' reference.
value
- the new value of the 'Baseunit' reference.getBaseunit()
NumberValue getFactor()
""
.
If the meaning of the 'Factor' attribute isn't clear, there really should be more of a description here...
setFactor(NumberValue)
,
PropertyPackage.getUnitLiteral_Factor()
double getAbsoluteFactor()
my_units: units (a, b => a * 10, c => b * 10)
The factor for c
is 10, but the absolute factor
is 100.
double getAbsoluteFactor(UnitLiteral target)
target
- UnitLiteral
void setFactor(NumberValue value)
Factor
' containment reference.
value
- the new value of the 'Factor' containment reference.getFactor()
void setParsedUnitLiteral(java.lang.String pr, java.lang.String file, int line)
pr
- parsed of unitliteral as stringvoid setParsedPropertyReference(ParsedPropertyReference pr)
pr
- parsed of unitliteral as ParsedPropertyReferenceParsedPropertyReference getParsedPropertyReference()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |