public class ResultRecord extends Source implements DataSourceInterface
ResultPane
Entity.ContainedObjectsIterator
Modifier and Type | Field and Description |
---|---|
SingletonParameter |
hide |
_triggered, output, trigger
_typesValid
_actorFiringListeners, _initializables, _notifyingActorFiring, _stopRequested
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
BLACK, ENDPOINT, MAGENTA, NAMESPACE, RECORDID, RED, TITLE_BINARY, TITLE_BUSY, TITLE_ERROR, YELLOW
COMPLETED, NOT_READY, STOP_ITERATING
Constructor and Description |
---|
ResultRecord(CompositeEntity container,
java.lang.String name)
Create a new ResultRecord with the given name.
|
Modifier and Type | Method and Description |
---|---|
void |
addRecordDetail(java.lang.String detail)
Add one or more detail attributes to the record.
|
java.lang.Object |
clone(Workspace workspace)
Clone the ResultRecord into the specified workspace.
|
java.net.URL |
getDocumentation()
Get a URL pointer to the documentation for this data source.
|
java.lang.String |
getEndpoint()
Get the endpoint of this record.
|
java.io.Reader |
getFullRecord() |
java.lang.String |
getNamespace()
Get the namespace of this record.
|
java.util.Vector |
getRecordDetailList()
Get the recordDetailsList in this entity
|
java.lang.String |
getRecordId()
Get the identifier of this record.
|
boolean |
hasConnectionValues()
Determine if the recordId and endpoint attributes have valid values for
use in retrieving the record for parsing.
|
void |
setEndpoint(java.lang.String endpoint)
Set the endpoint of this record.
|
void |
setNamespace(java.lang.String namespace)
Set the namespace of this record.
|
void |
setRecordId(java.lang.String id)
Set the identifier of this record.
|
static void |
transformResultRecordArrayToVector(ResultRecord[] source,
java.util.Vector dest)
Method to transfer a array of ResultRecord to a Vector
|
_customTypeConstraints, fire, prefire
_containedTypeConstraints, _defaultTypeConstraints, _fireAt, _fireAt, attributeTypeChanged, clone, isBackwardTypeInferenceEnabled, newPort, typeConstraintList, typeConstraints
_actorFiring, _actorFiring, _declareDelayDependency, addActorFiringListener, addInitializable, connectionsChanged, createReceivers, declareDelayDependency, getCausalityInterface, getDirector, getExecutiveDirector, getManager, initialize, inputPortList, isFireFunctional, isStrict, iterate, newReceiver, outputPortList, postfire, preinitialize, pruneDependencies, recordFiring, removeActorFiringListener, removeDependency, removeInitializable, setContainer, stop, stopFire, terminate, wrapup
_adjustDeferrals, _checkContainer, _getContainedObject, _propagateExistence, getContainer, instantiate, isAtomic, isOpaque, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, propagateExistence, setName
_addPort, _description, _exportMoMLContents, _removePort, _validateSettables, connectedPortList, connectedPorts, containedObjectsIterator, getAttribute, getPort, getPorts, linkedRelationList, linkedRelations, portList, removeAllPorts, setClassDefinition, uniqueName
_setParent, exportMoML, getChildren, getElementName, getParent, getPrototypeList, isClassDefinition, isWithinClassDefinition
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _containedDecorators, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _executeChangeRequests, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _notifyHierarchyListenersAfterChange, _notifyHierarchyListenersBeforeChange, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, addChangeListener, addDebugListener, addHierarchyListener, attributeChanged, attributeDeleted, attributeList, attributeList, decorators, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttributes, getChangeListeners, getClassName, getDecoratorAttribute, getDecoratorAttributes, getDerivedLevel, getDerivedList, getDisplayName, getFullName, getModelErrorHandler, getName, getName, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, lazyContainedObjectsIterator, message, notifyOfNameChange, propagateValue, propagateValues, removeAttribute, removeChangeListener, removeDebugListener, removeHierarchyListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, toString, validateSettables, workspace
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createReceivers, getCausalityInterface, getDirector, getExecutiveDirector, getManager, inputPortList, newReceiver, outputPortList
isFireFunctional, isStrict, iterate, postfire, stop, stopFire, terminate
addInitializable, initialize, preinitialize, removeInitializable, wrapup
description, getContainer, getDisplayName, getFullName, getName, getName, setName
getDerivedLevel, getDerivedList, propagateValue
public SingletonParameter hide
public ResultRecord(CompositeEntity container, java.lang.String name) throws NameDuplicationException, IllegalActionException
container
- The model that contains this entity.name
- The name of this result set resord.IllegalActionException
- If the actor cannot be contained by the proposed
container.NameDuplicationException
- If the container already has an actor with this name.public java.lang.Object clone(Workspace workspace) throws java.lang.CloneNotSupportedException
clone
in class TypedAtomicActor
workspace
- The workspace for the new object.java.lang.CloneNotSupportedException
- If a derived class contains
an attribute that cannot be cloned.NamedObj.exportMoML(Writer, int, String)
,
NamedObj.setDeferringChangeRequests(boolean)
public void setRecordId(java.lang.String id)
id
- the String that uniquely identifies the recordpublic java.lang.String getRecordId()
public void setEndpoint(java.lang.String endpoint)
endpoint
- the URL of the service that contains the recordpublic java.lang.String getEndpoint()
public void setNamespace(java.lang.String namespace)
endpoint
- the URL of the service that contains the recordpublic java.lang.String getNamespace()
public void addRecordDetail(java.lang.String detail)
detail
- the additional information about the recordpublic boolean hasConnectionValues()
public java.io.Reader getFullRecord()
public java.net.URL getDocumentation()
DataSourceInterface
getDocumentation
in interface DataSourceInterface
public static void transformResultRecordArrayToVector(ResultRecord[] source, java.util.Vector dest)
source
- the source array of ResultRecorddest
- the destation vector the element will be added.public java.util.Vector getRecordDetailList()