Class PersistentStrategyInstance

    • Field Detail

      • name

        private String name
        uniquely describes the strategy
      • filename

        private String filename
        indicates the server-local file which contains the strategy
      • hash

        private String hash
        indicates the strategy hash value
      • nonce

        private String nonce
        uniquely identifies a strategy upload request
      • started

        private Date started
        date strategy was started
      • status

        private StrategyStatus status
        describes the state of a loaded strategy
    • Constructor Detail

      • PersistentStrategyInstance

        public PersistentStrategyInstance()
        Create a new PersistentStrategyInstance instance.
      • PersistentStrategyInstance

        public PersistentStrategyInstance​(StrategyInstance inStrategyInstance)
        Create a new PersistentStrategyInstance instance.
        Parameters:
        inStrategyInstance - a StrategyInstance value
    • Method Detail

      • getUser

        public User getUser()
        Get the user value.
        Specified by:
        getUser in interface HasUser
        Returns:
        an org.marketcetera.admin.User value
      • setUser

        public void setUser​(User inUser)
        Set the user value.
        Specified by:
        setUser in interface HasUser
        Parameters:
        inUser - an org.marketcetera.admin.User value
      • setName

        public void setName​(String inName)
        Set the name value.
        Specified by:
        setName in interface StrategyInstance
        Parameters:
        inName - a String value
      • setFilename

        public void setFilename​(String inFilename)
        Set the filename value.
        Specified by:
        setFilename in interface StrategyInstance
        Parameters:
        inFilename - a String value
      • setHash

        public void setHash​(String inHash)
        Set the hash value.
        Specified by:
        setHash in interface StrategyInstance
        Parameters:
        inHash - a String value
      • setNonce

        public void setNonce​(String inNonce)
        Set the nonce value.
        Specified by:
        setNonce in interface StrategyInstance
        Parameters:
        inNonce - a String value
      • getStarted

        public Date getStarted()
        Get the started value.
        Specified by:
        getStarted in interface StrategyInstance
        Returns:
        a java.util.Date value
      • setStarted

        public void setStarted​(Date inStarted)
        Set the started value.
        Specified by:
        setStarted in interface StrategyInstance
        Parameters:
        inStarted - a java.util.Date value
      • setStatus

        public void setStatus​(StrategyStatus inStatus)
        Set the status value.
        Specified by:
        setStatus in interface StrategyInstance
        Parameters:
        inStatus - an org.marketcetera.strategy.StrategyStatus value