Class Content

  • Direct Known Subclasses:
    GltfModel

    @Node
    public class Content
    extends Embedded
    Basic content class. Early version, not used on its own, likely to change.
    Author:
    joe
    • Constructor Detail

      • Content

        public Content()
      • Content

        public Content​(String fileName,
                       String folder,
                       String contentType,
                       long length)
    • Method Detail

      • dispose

        public void dispose()
        Description copied from class: Entity
        Called while an object is being deleted. Used for cleanup tasks, e.g. removal of created files etc.
        Overrides:
        dispose in class Entity
      • getFileName

        public String getFileName()
      • getFolder

        public String getFolder()
      • getContentType

        public String getContentType()
      • getLength

        public long getLength()
      • setFileName

        public void setFileName​(String fileName)
      • setFolder

        public void setFolder​(String folder)
      • setContentType

        public void setContentType​(String contentType)
      • setLength

        public void setLength​(long length)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Entity