| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Defines string constants for RwiProperty.SHAPE_TYPE property.
Please note that classes and interfaces, and
sequence and collaboration
diagrams have the
same value of
a SHAPE_TYPE property.
| Field Summary | |
final static String | ACTIVITY |
final static String | ACTIVITY_DIAGRAMAn element is an activity diagram. |
final static String | ACTORAn element is an actor. |
final static String | AGGREGATES_LINK |
final static String | ASSOCIATES_LINK |
final static String | ASSOCIATIONAn element is an association link. |
final static String | ATTRIBUTEAn element is an attribute. |
final static String | BUSINESS_ENTITY |
final static String | BUSINESS_PROCESS_DIAGRAMAn element is a business process diagram. |
final static String | BUSINESS_WORKER |
final static String | CLASSAn element is a class or an interface. |
final static String | CLASS_DIAGRAMAn element is a class diagram. |
final static String | COMMUNICATES_LINK |
final static String | COMPONENT |
final static String | COMPONENT_DIAGRAMAn element is a component diagram. |
final static String | DECISION |
final static String | DEFERRED_EVENT |
final static String | DEPENDENCYAn element is a dependency link. |
final static String | DEPLOYMENT_DIAGRAMAn element is a deployment diagram. |
final static String | END_STATE |
final static String | ER_DIAGRAMAn element is an ER diagram. |
final static String | GENERALIZATIONA element is a generalization link. |
final static String | HISTORY |
final static String | HYPERLINKAn element is a hyperlink. |
final static String | IMPLEMENTATIONAn element is an implementation link. |
final static String | INTERFACE |
final static String | INTERNAL_TRANSITION |
final static String | NODE |
final static String | NOTEAn element is a note. |
final static String | OBJECT |
final static String | OPERATIONAn element is an operation. |
final static String | PACKAGEAn element is RwiPackage
The value of this constant is "Package". |
final static String | SEQUENCE_DIAGRAMAn element is a sequence or a collaboration diagram. |
final static String | SIGNAL_RECEIPT |
final static String | SIGNAL_SENDING |
final static String | START_STATE |
final static String | STATE |
final static String | STATE_DIAGRAMAn element is a statechart diagram. |
final static String | STATEMENT_BLOCK |
final static String | SUBSYSTEM |
final static String | SYNC_BAR |
final static String | SYSTEM_BOUNDARY |
final static String | USE_CASE |
final static String | USE_CASE_DIAGRAMAn element is a use case diagram. |
| Field Detail |
public final static String ACTIVITY
public final static String ACTIVITY_DIAGRAM
The value of this constant is "ActivityDiagram". You can use this value in .config files.
public final static String ACTOR
The value of this constant is "Actor". You can use this value in .config files.
public final static String AGGREGATES_LINK
public final static String ASSOCIATES_LINK
public final static String ASSOCIATION
The value of this constant is "AssociationLink". You can use this value in .config files.
public final static String ATTRIBUTE
The value of this constant is
if (RwiShapeType.ATTRIBUTE.equals(someRwiMember.getProperty(RwiProperty.SHAPE_TYPE))) {
... // it is an attribute
}"Attribute". You can use this value in .config files.
public final static String BUSINESS_ENTITY
public final static String BUSINESS_PROCESS_DIAGRAM
The value of this constant is "BusinessProcessDiagram". You can use this value in .config files.
public final static String BUSINESS_WORKER
public final static String CLASS
if (RwiShapeType.CLASS.equals(someRwiNode.getProperty(RwiProperty.SHAPE_TYPE))){
if (someRwiNode.hasProperty(RwiProperty.INTERFACE)){
... //it is an interface
} else {
... //it is a class
}
}
The value of this constant is "Class". You can use this value in .config files.public final static String CLASS_DIAGRAM
The value of this constant is "ClassDiagram". You can use this value in .config files.
public final static String COMMUNICATES_LINK
public final static String COMPONENT
public final static String COMPONENT_DIAGRAM
The value of this constant is "ComponentDiagram". You can use this value in .config files.
public final static String DECISION
public final static String DEFERRED_EVENT
public final static String DEPENDENCY
The value of this constant is "DependencyLink". You can use this value in .config files.
public final static String DEPLOYMENT_DIAGRAM
The value of this constant is "DeploymentDiagram". You can use this value in .config files.
public final static String END_STATE
public final static String ER_DIAGRAM
The value of this constant is "ERDiagram". You can use this value in .config files.
public final static String GENERALIZATION
The value of this constant is "GeneralizationLink". You can use this value in .config files.
public final static String HISTORY
public final static String HYPERLINK
The value of this constant is "Hyperlink". You can use this value in .config files.
public final static String IMPLEMENTATION
The value of this constant is "ImplementationLink". You can use this value in .config files.
public final static String INTERFACE
public final static String INTERNAL_TRANSITION
public final static String NODE
public final static String NOTE
The value of this constant is "Note". You can use this value in .config files.
public final static String OBJECT
public final static String OPERATION
The value of this constant is
if (RwiShapeType.OPERATION.equals(someRwiMember.getProperty(RwiProperty.SHAPE_TYPE))) {
... // it is an operation
}"Operation". You can use this value in .config files.
public final static String PACKAGE
RwiPackage
The value of this constant is "Package". You can use this value in .config files.
public final static String SEQUENCE_DIAGRAM
RwiDiagram. But when a diagram is displayed
as a collaboration diagram, it
has RwiProperty.VIEW_TYPE property. For example:
if (RwiShapeType.SEQUENCE_DIAGRAM.equals(myRwiDiagram.getProperty(RwiProperty.SHAPE_TYPE))){
if (myRwiDiagram.hasProperty(RwiProperty.VIEW_TYPE)){
... //it is a collaboration diagram
} else {
... //it is a sequence diagram
}
}
The value of this constant is "SequenceDiagram". You can use this value in .config files.
public final static String SIGNAL_RECEIPT
public final static String SIGNAL_SENDING
public final static String START_STATE
public final static String STATE
public final static String STATE_DIAGRAM
The value of this constant is "StateDiagram". You can use this value in .config files.
public final static String STATEMENT_BLOCK
public final static String SUBSYSTEM
public final static String SYNC_BAR
public final static String SYSTEM_BOUNDARY
public final static String USE_CASE
public final static String USE_CASE_DIAGRAM
The value of this constant is "UseCaseDiagram". You can use this value in .config files.
| Association Links |
if (RwiShapeType.CLASS.equals(someRwiNode.getProperty(RwiProperty.SHAPE_TYPE))){
if (someRwiNode.hasProperty(RwiProperty.INTERFACE)){
... //it is an interface
} else {
... //it is a class
}
}
The value of this constant is "Class". You can use this value in .config files.to Class java.lang.String
The value of this constant is
if (RwiShapeType.ATTRIBUTE.equals(someRwiMember.getProperty(RwiProperty.SHAPE_TYPE))) {
... // it is an attribute
}"Attribute". You can use this value in .config files.
to Class java.lang.String
The value of this constant is
if (RwiShapeType.OPERATION.equals(someRwiMember.getProperty(RwiProperty.SHAPE_TYPE))) {
... // it is an operation
}"Operation". You can use this value in .config files.
to Class java.lang.String
The value of this constant is "GeneralizationLink". You can use this value in .config files.
to Class java.lang.String
The value of this constant is "ImplementationLink". You can use this value in .config files.
to Class java.lang.String
The value of this constant is "AssociationLink". You can use this value in .config files.
to Class java.lang.String
RwiPackage
The value of this constant is "Package". You can use this value in .config files.
to Class java.lang.String
The value of this constant is "Hyperlink". You can use this value in .config files.
to Class java.lang.String
The value of this constant is "DependencyLink". You can use this value in .config files.
to Class java.lang.String
The value of this constant is "ClassDiagram". You can use this value in .config files.
to Class java.lang.String
The value of this constant is "ComponentDiagram". You can use this value in .config files.
to Class java.lang.String
The value of this constant is "ERDiagram". You can use this value in .config files.
to Class java.lang.String
RwiDiagram. But when a diagram is displayed
as a collaboration diagram, it
has {@link RwiProperty#VIEW_TYPE RwiProperty.VIEW_TYPE} property. For example:
if (RwiShapeType.SEQUENCE_DIAGRAM.equals(myRwiDiagram.getProperty(RwiProperty.SHAPE_TYPE))){
if (myRwiDiagram.hasProperty(RwiProperty.VIEW_TYPE)){
... //it is a collaboration diagram
} else {
... //it is a sequence diagram
}
}
The value of this constant is "SequenceDiagram". You can use this value in .config files.
to Class java.lang.String
The value of this constant is "StateDiagram". You can use this value in .config files.
to Class java.lang.String
The value of this constant is "UseCaseDiagram". You can use this value in .config files.
to Class java.lang.String
The value of this constant is "ActivityDiagram". You can use this value in .config files.
to Class java.lang.String
The value of this constant is "DeploymentDiagram". You can use this value in .config files.
to Class java.lang.String
The value of this constant is "BusinessProcessDiagram". You can use this value in .config files.
to Class java.lang.String
The value of this constant is "Actor". You can use this value in .config files.
to Class java.lang.String
The value of this constant is "Note". You can use this value in .config files.
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
| |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||