gov.nasa.arc.brahms.common.data.format.uml
Class NamedModelElementFormatter

java.lang.Object
  extended by gov.nasa.arc.brahms.common.data.format.uml.BrahmsObjectFormatter
      extended by gov.nasa.arc.brahms.common.data.format.uml.ModelElementFormatter
          extended by gov.nasa.arc.brahms.common.data.format.uml.NamedModelElementFormatter
All Implemented Interfaces:
IFormatter, gov.nasa.arc.brahms.common.IConstants
Direct Known Subclasses:
ActivityFormatter, AttributeFormatter, ConceptFormatter, ModelFormatter, ParameterFormatter

public class NamedModelElementFormatter
extends ModelElementFormatter

This class provides the UML formatting logic for the NamedModelElement

Version:
27 June 2004
Author:
Ron van Hoof

Field Summary
 
Fields inherited from class gov.nasa.arc.brahms.common.data.format.uml.BrahmsObjectFormatter
LOG_PROPERTY, TABS_PROPERTY
 
Fields inherited from interface gov.nasa.arc.brahms.common.IConstants
ABORT, ACTIVECLASS, ACTIVECONCEPT, ACTIVEINSTANCE, AGENT, ANONYMOUS, ANYAGENT, AREA, AREADEF, ASSIGNED, ATTRIBUTE, BASEAREADEF, BASECLASS, BASECONCEPTUALCLASS, BASEGROUP, BASELIBRARY, BOOLEAN, BROADCAST, BUILDING, BYTE, CCLOCK, CDATE, CHAR, CITY, CLASS, CLOCK, COLLECTALL, COMMUNICATE, COMPLETE, COMPOSITE, COMPUTER, CONCEPT, CONCEPTUALCLASS, CONCEPTUALCONCEPT, CONCEPTUALOBJECT, CONTINUE, COPY, CREATEAGENT, CREATEAREA, CREATEOBJECT, current, CURRENT, DATAFRAME, DATE, DB, DETECTABLE, DIV, DOUBLE, EMAIL, EMPTY_STRING, END, ENDACTIVITY, ENTAGENT, EQ, EXCEPTION, EXPR, FACE2FACE, FACTFRAME, FALSE, FAX, FLOAT, FOREACH, FORONE, G2, GE, GEOGRAPHYCONCEPT, GESTURE, GET, GROUP, GT, IMPASSE, INT, INVALID, JAVA, JAVA_TYPE, KNOWN_MODIFIER, KNOWNVAL_MODIFIER, LE, LOCAL, LONG, LT, MAP, MINUS, MOD, MOVE, MULT, NE, NEW, NONE, NOT_MODIFIER, NOWORK, O, OA, OBJECT, ONTOLOGY, PAGER, PARAMETER, PATH, PHONE, PLUS, PRIMITIVE, PRIVATE, PROAGENT, PROTECTED, PRSAGENT, PUBLIC, PUT, RECEIVE, RELATION, sACTIVECLASS, sACTIVECONCEPT, sACTIVEINSTANCE, sAGENT, sARCHIVE, sAREA, sAREADEF, sBOOLEAN, sBYTE, sBYTECODEEXT, sCHAR, sCLASS, sCOMPUTER, sCONCEPT, sCONCEPTUALCLASS, sCONCEPTUALCONCEPT, sCONCEPTUALOBJECT, sCOPY, sCURRENT, sDETECTABLE, sDOUBLE, sEMAIL, sEND, SEND, sFACE2FACE, sFAX, sFILEEXT, sFLOAT, sGEOGRAPHYCONCEPT, sGROUP, SHORT, SIMAGENT, sINT, sJAVA_TYPE, sLONG, sMAP, sNEW, sNONE, sNOWORK, sOBJECT, SOURCECODE, sPAGER, sPARAMETER, sPATH, sPHONE, sPRIVATE, sPROJECTEXT, sPROTECTED, sPUBLIC, sSHORT, sSTART, sSTRING, sSYMBOL, START, STRING, sUNKNOWN, sVOID, SYMBOL, TRUE, UDT, UML, UNASSIGNED, UNDEFINED, unknown, UNKNOWN, UNKNOWN_MODIFIER, V, VARIABLE, VOID, WHENEVER, WORKFRAME, WORLD, XML
 
Constructor Summary
NamedModelElementFormatter(UMLFormat format)
          Constructor, creates a new UML formatter for NamedModelElement
 
Method Summary
static java.util.SortedSet getSortedSet(java.util.Enumeration elements)
          Sorts the elements in the specified enumeration and returns those elements sorted in the SortedSet.
 
Methods inherited from class gov.nasa.arc.brahms.common.data.format.uml.BrahmsObjectFormatter
getFormat, setFormat, writeFormat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedModelElementFormatter

public NamedModelElementFormatter(UMLFormat format)
Constructor, creates a new UML formatter for NamedModelElement

Parameters:
format - the parent UMLFormat
Method Detail

getSortedSet

public static java.util.SortedSet getSortedSet(java.util.Enumeration elements)
Sorts the elements in the specified enumeration and returns those elements sorted in the SortedSet.

Parameters:
elements - the elements to be sorted
Returns:
SortedSet the sorted elements


Copyright © 1997-2012 All Rights Reserved.