Class CollectionFolderProperties


public class CollectionFolderProperties extends CollectionProperties
CollectionFolderProperties defines the properties used to create a Folder classification for a collection.
  • Constructor Details

    • CollectionFolderProperties

      public CollectionFolderProperties()
      Default Constructor
    • CollectionFolderProperties

      public CollectionFolderProperties(CollectionFolderProperties template)
      Copy/clone Constructor - the resulting object.
      Parameters:
      template - object being copied
  • Method Details

    • getCollectionOrdering

      public OrderBy getCollectionOrdering()
      Return the property to use to determine the order that member are returned.
      Returns:
      AssetCollectionOrder enum
    • setCollectionOrdering

      public void setCollectionOrdering(OrderBy collectionOrdering)
      Set up the property to use to determine the order that assets are returned.
      Parameters:
      collectionOrdering - AssetCollectionOrder enum
    • getCollectionOrderingProperty

      public String getCollectionOrderingProperty()
      Return the name of the property to use if collectionOrdering is OTHER.
      Returns:
      property name
    • setCollectionOrderingProperty

      public void setCollectionOrderingProperty(String collectionOrderingProperty)
      Set up the name of the property to use if collectionOrdering is OTHER.
      Parameters:
      collectionOrderingProperty - test
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class CollectionProperties
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class CollectionProperties
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class CollectionProperties
      Returns:
      int hash code