net.sourceforge.agora.simulator.control
Class SecurityDictionary

java.lang.Object
  extended by net.sourceforge.agora.simulator.control.SecurityDictionary

public class SecurityDictionary
extends java.lang.Object

The Class SecurityDictionary.


Method Summary
 void addSecurity(Security security)
          Adds the security.
 java.lang.String getAlternativeSecurityID(java.lang.String securityID, java.lang.String alternativeIDSource)
          Gets the alternative security id.
static SecurityDictionary getInstance()
          Gets the single instance of SecurityDictionary.
 quickfix.Group getRelatedSym(Security fSecurity)
          Gets the related sym.
 Security getRelatedSym2(quickfix.Group group)
          Gets the related sym2.
 Security getSecurityForBusinessObjectID(long securityID)
          Gets the security for business object id.
 Security getSecurityForDefaultSecurityID(java.lang.String securityID)
          Gets the security for default security id.
 Security getSecurityForDefaultSecurityID(java.lang.String securityID, java.lang.String idSource)
          Gets the security for default security id.
 void removeSecurity(Security security)
          Removes the security.
 void updateSecurity(Security security)
          Update security.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

removeSecurity

public void removeSecurity(Security security)
Removes the security.

Parameters:
security - the security

addSecurity

public void addSecurity(Security security)
Adds the security.

Parameters:
security - the security

updateSecurity

public void updateSecurity(Security security)
Update security.

Parameters:
security - the security

getSecurityForDefaultSecurityID

public Security getSecurityForDefaultSecurityID(java.lang.String securityID,
                                                java.lang.String idSource)
Gets the security for default security id.

Parameters:
securityID - the security id
idSource - the id source
Returns:
the security for default security id

getSecurityForDefaultSecurityID

public Security getSecurityForDefaultSecurityID(java.lang.String securityID)
Gets the security for default security id.

Parameters:
securityID - the security id
Returns:
the security for default security id

getSecurityForBusinessObjectID

public Security getSecurityForBusinessObjectID(long securityID)
Gets the security for business object id.

Parameters:
securityID - the security id
Returns:
the security for business object id

getAlternativeSecurityID

public java.lang.String getAlternativeSecurityID(java.lang.String securityID,
                                                 java.lang.String alternativeIDSource)
Gets the alternative security id.

Parameters:
securityID - the security id
alternativeIDSource - the alternative id source
Returns:
the alternative security id

getRelatedSym

public quickfix.Group getRelatedSym(Security fSecurity)
Gets the related sym.

Parameters:
fSecurity - the f security
Returns:
the related sym

getRelatedSym2

public Security getRelatedSym2(quickfix.Group group)
Gets the related sym2.

Parameters:
group - the group
Returns:
the related sym2

getInstance

public static SecurityDictionary getInstance()
Gets the single instance of SecurityDictionary.

Returns:
single instance of SecurityDictionary