|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.util.AbstractEnumerator
edu.cmu.sei.aadl.model.feature.PortDirection
public final class PortDirection
A representation of the literals of the enumeration 'Port Direction', and utility methods for working with them.
FeaturePackage.getPortDirection()
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
copyright
|
static int |
IN
The 'In' literal value |
static PortDirection |
IN_LITERAL
The 'In' literal object |
static int |
INOUT
The 'Inout' literal value |
static PortDirection |
INOUT_LITERAL
The 'Inout' literal object |
static int |
OUT
The 'Out' literal value |
static PortDirection |
OUT_LITERAL
The 'Out' literal object |
static java.util.List |
VALUES
A public read-only list of all the 'Port Direction' enumerators |
Method Summary | |
---|---|
static PortDirection |
get(int value)
Returns the 'Port Direction' literal with the specified integer value |
static PortDirection |
get(java.lang.String literal)
Returns the 'Port Direction' literal with the specified literal value |
static PortDirection |
getByName(java.lang.String name)
Returns the 'Port Direction' literal with the specified name |
java.lang.String |
getFileName()
|
PortDirection |
getInverseDirection()
Sets the port direction to be the opposite of the one specified The original direction may be retrieved from a refinement ancestor the value is set locally |
java.lang.String |
getReadableName()
|
java.lang.String |
getUnparseName()
|
boolean |
incoming()
PortDirection is IN or INOUT |
boolean |
isInverseOf(PortDirection other)
|
boolean |
outgoing()
PortDirection is OUT or INOUT |
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator |
---|
getLiteral, getName, getValue, toString, writeReplace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String copyright
public static final int IN
IN_LITERAL
,
Constant Field Valuespublic static final int OUT
OUT_LITERAL
,
Constant Field Valuespublic static final int INOUT
INOUT_LITERAL
,
Constant Field Valuespublic static final PortDirection IN_LITERAL
If the meaning of 'In' literal object isn't clear, there really should be more of a description here...
IN
public static final PortDirection OUT_LITERAL
If the meaning of 'Out' literal object isn't clear, there really should be more of a description here...
OUT
public static final PortDirection INOUT_LITERAL
If the meaning of 'Inout' literal object isn't clear, there really should be more of a description here...
INOUT
public static final java.util.List VALUES
Method Detail |
---|
public static PortDirection get(java.lang.String literal)
public static PortDirection getByName(java.lang.String name)
public static PortDirection get(int value)
public boolean incoming()
public boolean outgoing()
public PortDirection getInverseDirection()
public boolean isInverseOf(PortDirection other)
public final java.lang.String getFileName()
public java.lang.String getReadableName()
public java.lang.String getUnparseName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |