public interface RelationshipRuleSet extends DomainObjectBase
MAP_DOMAIN_OBJECT_TO_ID_FUNCTION, ORGANIZATION_COLUMN_NAME
Modifier and Type | Method and Description |
---|---|
Boolean |
getIsExclusive() |
String |
getName() |
RelationshipRule |
getRule(DocumentType fromDocType,
DocumentType toDocType)
Find a specific rule in the rule set per the given parameters.
|
RelationshipRule |
getRule(DocumentType fromDocType,
DocumentType toDocType,
RelationshipType relationshipType)
Find a specific rule in the rule set per the given parameters.
|
List<RelationshipRule> |
getRules() |
List<RelationshipRule> |
getRules(DocumentType fromDocType,
DocumentType toDocType)
Find rules in the rule set per the given parameters.
|
boolean |
hasRule(DocumentType docType)
Determine if any rules configured for the given parameter.
|
void |
setIsExclusive(Boolean isExclusive) |
void |
setName(String name) |
void |
setRules(List<RelationshipRule> rules) |
getId, getOrganizationId, setId, setOrganizationId
String getName()
void setName(String name)
Boolean getIsExclusive()
void setIsExclusive(Boolean isExclusive)
List<RelationshipRule> getRules()
void setRules(List<RelationshipRule> rules)
RelationshipRule getRule(DocumentType fromDocType, DocumentType toDocType, RelationshipType relationshipType)
null
if there is no rule in the
rule set that matches the given parametersRelationshipRule getRule(DocumentType fromDocType, DocumentType toDocType)
null
if there is no rule in the
rule set that matches the given parameters; if there's multiple rules matching a random first one is returned; at
the time of writing this was not possible, and thus a singular return type was more convenient, but in the future
different relationship types may be supported for the given parametersList<RelationshipRule> getRules(DocumentType fromDocType, DocumentType toDocType)
null
boolean hasRule(DocumentType docType)
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.