Package gov.cms.hh.grouper
Class AbstractGrouper
java.lang.Object
gov.cms.hh.grouper.AbstractGrouper
- All Implemented Interfaces:
DescribableIF,IdentifiableIF,NameableIF,GrouperIF
- Direct Known Subclasses:
Grouper_v01020
- Author:
- CMS
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractGrouper(int id, String name, String description, String startDate, String endDate, boolean active, boolean defaultt, boolean loadDescription) AbstractGrouper(Integer id, GrouperVersionObject grouperVersionObject, Boolean loadDescription) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClaimIFcastClaim(ClaimContainerIF claimInput) Convert String-based input claim object into internal claim objectprotected StringformatResult(ClaimIF claim) getAvailableTableContent(TableNames_EN tableType) The description of the objectintgetId()the id of the objectgetName()Get link to next version for spanning claimsprotected voidvoidgroup(ClaimContainerIF claimInput) booleanisActive()booleanbooleanisLinked()protected voidprocessClaim(ClaimIF claim, DataManagerIF dataManager) voidsetActive(boolean active) voidsetClaimManager(ClaimManagerIF claimManager) voidsetDataManager(DataManagerIF dataManager) voidsetDefault(boolean defaultFlag) voidsetDescription(String description) Sets the objects internal descriptionvoidsetEndDate(Date endDate) voidsetId(int id) Sets the id for the object at run timevoidSet flag to linkvoidvoidsetNextVersion(GrouperIF nextVersion) Set link to next version for spanning claimsvoidsetStartDate(Date startDate) voidSet flag to unlink
-
Constructor Details
-
AbstractGrouper
public AbstractGrouper(int id, String name, String description, String startDate, String endDate, boolean active, boolean defaultt, boolean loadDescription) throws ParseException - Parameters:
id-name-description-startDate-endDate-active-defaultt-loadDescription-- Throws:
ParseException
-
AbstractGrouper
public AbstractGrouper(Integer id, GrouperVersionObject grouperVersionObject, Boolean loadDescription) throws ParseException - Parameters:
id-grouperVersionObject-loadDescription-- Throws:
ParseException
-
-
Method Details
-
isLinked
public boolean isLinked() -
setLinked
public void setLinked()Description copied from interface:GrouperIFSet flag to link -
setUnlinked
public void setUnlinked()Description copied from interface:GrouperIFSet flag to unlink- Specified by:
setUnlinkedin interfaceGrouperIF
-
getNextVersion
Description copied from interface:GrouperIFGet link to next version for spanning claims- Specified by:
getNextVersionin interfaceGrouperIF- Returns:
- the nextVersion
-
setNextVersion
Description copied from interface:GrouperIFSet link to next version for spanning claims- Specified by:
setNextVersionin interfaceGrouperIF- Parameters:
nextVersion- the nextVersion to set
-
getClaimLayout
- Specified by:
getClaimLayoutin interfaceGrouperIF- Returns:
-
getClaimLayoutInputOnly
- Specified by:
getClaimLayoutInputOnlyin interfaceGrouperIF- Returns:
-
getStartDate
- Specified by:
getStartDatein interfaceGrouperIF- Returns:
- the startDate
-
setStartDate
- Parameters:
startDate- the startDate to set
-
getEndDate
- Specified by:
getEndDatein interfaceGrouperIF- Returns:
- the endDate
-
setEndDate
- Parameters:
endDate- the endDate to set
-
getId
public int getId()Description copied from interface:IdentifiableIFthe id of the object- Specified by:
getIdin interfaceIdentifiableIF- Returns:
- the id
-
setId
public void setId(int id) Description copied from interface:IdentifiableIFSets the id for the object at run time- Specified by:
setIdin interfaceIdentifiableIF- Parameters:
id- the id to set
-
getName
- Specified by:
getNamein interfaceNameableIF- Returns:
- the name
-
setName
- Specified by:
setNamein interfaceNameableIF- Parameters:
name- the name to set
-
getDescription
Description copied from interface:DescribableIFThe description of the object- Specified by:
getDescriptionin interfaceDescribableIF- Returns:
- the description
-
setDescription
Description copied from interface:DescribableIFSets the objects internal description- Specified by:
setDescriptionin interfaceDescribableIF- Parameters:
description- the description to set
-
isActive
public boolean isActive() -
setActive
public void setActive(boolean active) - Parameters:
active- the active to set
-
isDefault
public boolean isDefault() -
setDefault
public void setDefault(boolean defaultFlag) - Parameters:
defaultFlag- the defaultFlag to set
-
getEmptyClaim
- Specified by:
getEmptyClaimin interfaceGrouperIF- Returns:
-
castClaim
Convert String-based input claim object into internal claim object- Parameters:
claimInput-- Returns:
-
group
-
group
- Parameters:
claim-
-
processClaim
- Parameters:
claim-dataManager-
-
group
-
formatResult
- Parameters:
claim-- Returns:
-
getVersion
- Specified by:
getVersionin interfaceGrouperIF- Returns:
-
getAvailableTableContent
- Specified by:
getAvailableTableContentin interfaceGrouperIF- Parameters:
tableType-- Returns:
-
getDataManager
- Returns:
- the dataManager
-
setDataManager
- Parameters:
dataManager- the dataManager to set
-
getClaimManager
- Specified by:
getClaimManagerin interfaceGrouperIF- Returns:
- the claimManager
-
setClaimManager
- Parameters:
claimManager- the claimManager to set
-