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 Details

    • Content

      public Content()
    • Content

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

    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class Entity
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Entity
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class Entity
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Entity