Class Entry

    • Constructor Detail

      • Entry

        public Entry()
      • Entry

        public Entry​(String key)
    • Method Detail

      • getType

        public int getType()
      • isRemote

        public boolean isRemote()
      • isURLSource

        public boolean isURLSource()
      • isInlineXML

        public boolean isInlineXML()
      • isInlineText

        public boolean isInlineText()
      • setType

        public void setType​(int type)
      • getSrc

        public URL getSrc()
      • setSrc

        public void setSrc​(URL src)
      • getKey

        public String getKey()
      • setKey

        public void setKey​(String key)
      • getValue

        public Object getValue()
        Gets the value of the entry. String if the type is INLINE_TEXT or VALUE_TYPE, OMElement otherwise.
        Returns:
        Either an OMElement or a String
      • setValue

        public void setValue​(Object value)
      • setMapper

        public void setMapper​(XMLToObjectMapper mapper)
        Set the mapper
        Parameters:
        mapper - XMLToObjectMapper instance
      • getVersion

        public long getVersion()
      • setVersion

        public void setVersion​(long version)
      • getExpiryTime

        public long getExpiryTime()
      • setExpiryTime

        public void setExpiryTime​(long expiryTime)
      • getFileName

        public String getFileName()
      • setFileName

        public void setFileName​(String fileName)
      • setDescription

        public void setDescription​(String description)
        Description copied from interface: SynapseArtifact
        Set the description of the artifact
        Specified by:
        setDescription in interface SynapseArtifact
        Parameters:
        description - tobe set to the artifact
      • getEntryProperties

        public Properties getEntryProperties()
      • setEntryProperties

        public void setEntryProperties​(Properties entryProperties)
      • isExpired

        public boolean isExpired()
      • isCached

        public boolean isCached()
      • clearCache

        public void clearCache()
      • isDynamic

        public boolean isDynamic()
      • getArtifactContainerName

        public String getArtifactContainerName()
      • setArtifactContainerName

        public void setArtifactContainerName​(String artifactContainerName)
      • getIsEdited

        public boolean getIsEdited()
      • setIsEdited

        public void setIsEdited​(boolean isEdited)