Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.remote.script
Class ScriptServiceRecord  view ScriptServiceRecord download ScriptServiceRecord.java

java.lang.Object
  extended bycom.flexstor.remote.script.ScriptServiceRecord

public class ScriptServiceRecord
extends java.lang.Object

ScriptServiceRecord Holds an instance of an Asset and a Hashtable This class is used two ways: 1) When an importData object arrives in the run method a Hashtable of ScriptServiceRecords is created, so when a specific asset is needed, it can be obtained by it's filename. As this hashtable is created, each asset has it's own set of data (filename, roleid etc...) This data is stored in a hashtable as key value pairs (as would be written to RemoteScript.in) The hashtable is stored in this object along with an instance of it's associated Asset. 2) While RemoteScript.out is being read and processed, the key value pairs are stored in a Hashtable In the event that an Asset has embedded assets in this file, a reference to the Parent asset, and it's data need to be temporarily stored. This is done by creating one of these objects and adding it to a Vector (FIFO)


Field Summary
(package private)  com.flexstor.common.data.ejb.disguiserecord.DisguiseAssetRecordData anAsset
           
(package private)  java.util.Hashtable assetData
           
(package private)  java.lang.String sSectionHeader
           
 
Constructor Summary
(package private) ScriptServiceRecord(java.util.Hashtable data, com.flexstor.common.data.ejb.disguiserecord.DisguiseAssetRecordData asset)
           
 
Method Summary
 com.flexstor.common.data.ejb.disguiserecord.DisguiseAssetRecordData getAsset()
           
 java.util.Hashtable getData()
           
 java.lang.String getSectionHeader()
           
 void setSectionHeader(java.lang.String header)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

anAsset

com.flexstor.common.data.ejb.disguiserecord.DisguiseAssetRecordData anAsset

assetData

java.util.Hashtable assetData

sSectionHeader

java.lang.String sSectionHeader
Constructor Detail

ScriptServiceRecord

ScriptServiceRecord(java.util.Hashtable data,
                    com.flexstor.common.data.ejb.disguiserecord.DisguiseAssetRecordData asset)
Method Detail

getData

public java.util.Hashtable getData()

getAsset

public com.flexstor.common.data.ejb.disguiserecord.DisguiseAssetRecordData getAsset()

getSectionHeader

public java.lang.String getSectionHeader()

setSectionHeader

public void setSectionHeader(java.lang.String header)