gov.nasa.arc.brahms.common.data
Class ParameterValue

java.lang.Object
  extended by gov.nasa.arc.brahms.common.data.BrahmsObject
      extended by gov.nasa.arc.brahms.common.data.ParameterValue
All Implemented Interfaces:
gov.nasa.arc.brahms.common.IConstants, java.io.Serializable

public class ParameterValue
extends BrahmsObject

The ParameterValue represents the argument passed to an activity reference for a parameter defined for the activity referenced by the activity.

Version:
$Revision: 1.4 $ $Date: 2009/11/23 19:08:56 $ $Author: rnado $
Author:
Ron van Hoof
See Also:
Serialized Form

Field Summary
 
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
ParameterValue()
          Constructor, creates a new empty parameter value.
ParameterValue(java.lang.String file, int line)
          Constructor, creates a new parameter value, specified in the source code in the given file and at the given line number.
 
Method Summary
 ActivityRef getOwner()
           
 java.lang.Object getValue()
           
 int getValueType()
           
protected  void setID()
          Sets the unique identifier.
 void setOwner(ActivityRef act)
           
 void setValue(java.lang.Boolean b)
           
 void setValue(java.lang.Byte bt)
           
 void setValue(java.lang.Character c)
           
 void setValue(Concept c)
           
 void setValue(Current c)
           
 void setValue(java.lang.Double d)
           
 void setValue(java.lang.Float f)
           
 void setValue(java.lang.Integer i)
           
 void setValue(java.lang.Long l)
           
 void setValue(java.lang.Object o)
           
 void setValue(Parameter p)
           
 void setValue(java.lang.Short st)
           
 void setValue(java.lang.String s)
           
 void setValue(java.lang.String s, boolean symbol)
           
 void setValue(Unknown unknown)
           
 void setValue(Variable v)
           
 void setValueType(int i)
           
 
Methods inherited from class gov.nasa.arc.brahms.common.data.BrahmsObject
delete, export, getFile, getID, getLine, getSerialNumber, isBCC, isDynamic, isLoaded, isResolved, setBCC, setDynamic, setFile, setID, setLine, setLoaded, setResolved, setSerialNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterValue

public ParameterValue()
Constructor, creates a new empty parameter value.


ParameterValue

public ParameterValue(java.lang.String file,
                      int line)
Constructor, creates a new parameter value, specified in the source code in the given file and at the given line number.

Parameters:
file - the file name in which this parameter value is specified
line - the line number in the file where this parameter value is specified
Method Detail

setID

protected void setID()
Sets the unique identifier.

Overrides:
setID in class BrahmsObject

setValue

public void setValue(java.lang.Integer i)

setValue

public void setValue(java.lang.Character c)

setValue

public void setValue(java.lang.Byte bt)

setValue

public void setValue(java.lang.Short st)

setValue

public void setValue(java.lang.Long l)

setValue

public void setValue(java.lang.Float f)

setValue

public void setValue(java.lang.Double d)

setValue

public void setValue(java.lang.Boolean b)

setValue

public void setValue(java.lang.String s)

setValue

public void setValue(java.lang.String s,
                     boolean symbol)

setValue

public void setValue(Unknown unknown)

setValue

public void setValue(Parameter p)

setValue

public void setValue(Variable v)

setValue

public void setValue(Concept c)

setValue

public void setValue(Current c)

setValue

public void setValue(java.lang.Object o)

getValue

public java.lang.Object getValue()

setValueType

public void setValueType(int i)

getValueType

public int getValueType()

setOwner

public void setOwner(ActivityRef act)

getOwner

public ActivityRef getOwner()


Copyright © 1997-2012 All Rights Reserved.