Class AbstractGrouper

java.lang.Object
gov.cms.hh.grouper.AbstractGrouper
All Implemented Interfaces:
DescribableIF, IdentifiableIF, NameableIF, GrouperIF
Direct Known Subclasses:
Grouper_v01020

public abstract class AbstractGrouper extends Object implements GrouperIF
Author:
CMS
  • Constructor Details

  • Method Details

    • isLinked

      public boolean isLinked()
      Specified by:
      isLinked in interface GrouperIF
      Returns:
      the linked
    • setLinked

      public void setLinked()
      Description copied from interface: GrouperIF
      Set flag to link
      Specified by:
      setLinked in interface GrouperIF
    • setUnlinked

      public void setUnlinked()
      Description copied from interface: GrouperIF
      Set flag to unlink
      Specified by:
      setUnlinked in interface GrouperIF
    • getNextVersion

      public GrouperIF getNextVersion()
      Description copied from interface: GrouperIF
      Get link to next version for spanning claims
      Specified by:
      getNextVersion in interface GrouperIF
      Returns:
      the nextVersion
    • setNextVersion

      public void setNextVersion(GrouperIF nextVersion)
      Description copied from interface: GrouperIF
      Set link to next version for spanning claims
      Specified by:
      setNextVersion in interface GrouperIF
      Parameters:
      nextVersion - the nextVersion to set
    • getClaimLayout

      public List<Integer> getClaimLayout()
      Specified by:
      getClaimLayout in interface GrouperIF
      Returns:
    • getClaimLayoutInputOnly

      public List<Integer> getClaimLayoutInputOnly()
      Specified by:
      getClaimLayoutInputOnly in interface GrouperIF
      Returns:
    • getStartDate

      public Date getStartDate()
      Specified by:
      getStartDate in interface GrouperIF
      Returns:
      the startDate
    • setStartDate

      public void setStartDate(Date startDate)
      Parameters:
      startDate - the startDate to set
    • getEndDate

      public Date getEndDate()
      Specified by:
      getEndDate in interface GrouperIF
      Returns:
      the endDate
    • setEndDate

      public void setEndDate(Date endDate)
      Parameters:
      endDate - the endDate to set
    • getId

      public int getId()
      Description copied from interface: IdentifiableIF
      the id of the object
      Specified by:
      getId in interface IdentifiableIF
      Returns:
      the id
    • setId

      public void setId(int id)
      Description copied from interface: IdentifiableIF
      Sets the id for the object at run time
      Specified by:
      setId in interface IdentifiableIF
      Parameters:
      id - the id to set
    • getName

      public String getName()
      Specified by:
      getName in interface NameableIF
      Returns:
      the name
    • setName

      public void setName(String name)
      Specified by:
      setName in interface NameableIF
      Parameters:
      name - the name to set
    • getDescription

      public String getDescription()
      Description copied from interface: DescribableIF
      The description of the object
      Specified by:
      getDescription in interface DescribableIF
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Description copied from interface: DescribableIF
      Sets the objects internal description
      Specified by:
      setDescription in interface DescribableIF
      Parameters:
      description - the description to set
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface GrouperIF
      Returns:
      the active
    • setActive

      public void setActive(boolean active)
      Parameters:
      active - the active to set
    • isDefault

      public boolean isDefault()
      Specified by:
      isDefault in interface GrouperIF
      Returns:
      the defaultFlag
    • setDefault

      public void setDefault(boolean defaultFlag)
      Parameters:
      defaultFlag - the defaultFlag to set
    • getEmptyClaim

      public ClaimContainerIF getEmptyClaim()
      Specified by:
      getEmptyClaim in interface GrouperIF
      Returns:
    • castClaim

      protected ClaimIF castClaim(ClaimContainerIF claimInput)
      Convert String-based input claim object into internal claim object
      Parameters:
      claimInput -
      Returns:
    • group

      public void group(ClaimContainerIF claimInput)
      Specified by:
      group in interface GrouperIF
      Parameters:
      claimInput -
    • group

      protected void group(ClaimIF claim)
      Parameters:
      claim -
    • processClaim

      protected void processClaim(ClaimIF claim, DataManagerIF dataManager)
      Parameters:
      claim -
      dataManager -
    • group

      public String group(String claimInput)
      Specified by:
      group in interface GrouperIF
      Parameters:
      claimInput -
      Returns:
    • formatResult

      protected String formatResult(ClaimIF claim)
      Parameters:
      claim -
      Returns:
    • getVersion

      public String getVersion()
      Specified by:
      getVersion in interface GrouperIF
      Returns:
    • getAvailableTableContent

      public DataContainerIF<PositionAccessorIF> getAvailableTableContent(TableNames_EN tableType)
      Specified by:
      getAvailableTableContent in interface GrouperIF
      Parameters:
      tableType -
      Returns:
    • getDataManager

      public DataManagerIF getDataManager()
      Returns:
      the dataManager
    • setDataManager

      public void setDataManager(DataManagerIF dataManager)
      Parameters:
      dataManager - the dataManager to set
    • getClaimManager

      public ClaimManagerIF getClaimManager()
      Specified by:
      getClaimManager in interface GrouperIF
      Returns:
      the claimManager
    • setClaimManager

      public void setClaimManager(ClaimManagerIF claimManager)
      Parameters:
      claimManager - the claimManager to set