Act
, Role
and Entity
objects are validated against the master catalog,
which defines the allowable class code, mood code, determiner code, code, player entity, and/or scoper
entity for these objects.
Master Catalog defines the allowable ETS values for all Act
, Role
,
and Entity
objects used in an implementation or solution. The allowable values can either
be explicit in the Master Catalog specifying the ID of the concept, or indicating that no values (null)
are required, or that all ETS concepts are valid.
Classes in the Master Catalog package also handle state transitions. A state transition is defined
as the change in state in an Act
, Role
, Entity
during the
create or update process. The transition
occurs from a beginning state to an ending state for an Act
, Role
and Entity
.
APIs in this service allows users to create, update and search master catalog and focal class state transition entries.
Act
connected to the ControlAct
by an outbound Subject (SUBJ) ActRelationship
is not a Registry (REG) Act
, then that Subject Act
is the focal class.Act
has a Subject (SBJ) Participation
to either:
Role
with a null status code, orRole
.Role's
player Entity
.Role
connected to the Registry (REG) Act
by a Subject (SBJ) Participation
.null
, otherwise
the start state will be the status code from the previous version of the object.ControlAct
.MasterCatalogFocalClassStateTransition
entry with matching
ControlAct
MasterCatalogId, FocalClass MasterCatalogId, and a state transition from:
ControlAct
must match the
MasterCatalogFocalClassStateTransition.getTriggerEventCode()
attribute.This feature allows user to search Master Catalog entries based on search criteria. User can dynamically build criteria for one or more attributes.
The following are code examples to show basic Master Catalog Search Criteria creation:
(1a) Find all Act Master Catalog entries, for class code = "OBS"
and mood code = "EVN"
// get an instance of the Master Catalog Act Criteria
ActMasterCatalogQueryCriteria actSearchCriteria = MasterCatalogFactory.getInstance().newActMasterCatalogQueryCriteria();
// set the class code
SearchTerm searchTerm = actSearchCriteria.equalsClassCode("OBS");
// set the mood code
searchTerm = actSearchCriteria.and(searchTerm, actSearchCriteria.equalsMoodCode("EVN"));
// set the root search term
actSearchCriteria.setRootSearchTerm(searchTerm);
// retrieve act master catalog entries
MasterCatalog [] fetchedMasterCatalog = masterCatalogService.findMasterCatalogEntries(actSearchCriteria);
(1b) Find Master Catalog Entry, for code type = "
and coding scheme name = ID
""HTB Supplemental"
, coding scheme version name = "HTB Supplemental (2005-04-08)"
and concept code = "001827"
// get an instance of the Master Catalog Criteria
MasterCatalogQueryCriteria masterCatalogSearchCriteria = MasterCatalogFactory.getInstance().newMasterCatalogQueryCriteria();
SearchTerm searchTerm = masterCatalogSearchCriteria.equalsCode("HTB Supplemental", "HTB Supplemental (2005-04-08)", "001827");
// set the code type to ID
searchTerm = masterCatalogSearchCriteria.and(searchTerm, masterCatalogSearchCriteria.equalsCodeType(MasterCatalog.ID_CODE_TYPE));
// set the root search term
masterCatalogSearchCriteria.setRootSearchTerm(searchTerm);
// retrieve master catalog entry
MasterCatalog [] fetchedMasterCatalog = masterCatalogService.findMasterCatalogEntries(masterCatalogSearchCriteria);
The Master Catalog API uses the CTBCacheService
for caching the Master Catalog and Master Catalog Focal Class State Transition entries.
Following are the cache names used to store the objects
HDR Glossary HDR Concept Lists HDR Exceptions HDR Programmer's Guide HDR Implementation Guide HDR Profile Options
Copyright © 2016, 2018, Oracle. All rights reserved