Class Entitlement

java.lang.Object
com.emc.documentum.rest.model.AbstractLinkable
com.emc.documentum.rest.model.Entitlement
All Implemented Interfaces:
Linkable

public class Entitlement extends AbstractLinkable
Model representing entitlement status for a product code.
  • Constructor Details

    • Entitlement

      public Entitlement(String productCode, boolean isEntitled)
      Creates an entitlement result.
      Parameters:
      productCode - product code that was evaluated
      isEntitled - entitlement result for the product code
  • Method Details

    • getProductCode

      public String getProductCode()
      Returns the evaluated product code.
      Returns:
      product code value
    • setProductCode

      public void setProductCode(String productCode)
      Sets the product code.
      Parameters:
      productCode - product code value
    • isEntitled

      public boolean isEntitled()
      Indicates whether the current user is entitled to the product code.
      Returns:
      true if entitled; otherwise false
    • setEntitled

      public void setEntitled(boolean entitled)
      Sets entitlement status.
      Parameters:
      entitled - entitlement status to store