Template 
EntityType  Independent 
Logical Entity Name  Template 
Default Table Name  TEMPLATE 
Logical Only  NO 
Owner  EPICS 
Definition 
Template: Template name.  The templates can imported from an external file or created within the Rdb through Jeri.
 
Note 
 

Template Attributes 
Attribute/Logical Rolename  Domain  Datatype  NULL  Definition 
Tmpl Id(PK)  Default Text  VARCHAR(50)  NO 
Template Identifier: The unique identifier for an EPICS template.
 
Tmpl Desc  Description  VARCHAR(255)  YES 
Subsystem Name: The name associated with the SNS subsystem.
 
Ext Src File Nm    VARCHAR(100)  YES 
External Source File Name: If the template entry was imported from an existing template file, then this is the file name the template came from.
 
Ext Src File Mod Dte  Date  DATE  YES 
External Source File Modification Date: If the template was imported from an external file, this will be the modification date of that template file.
 

Template Keys 
Key Name  Key Type  Keys 
template_pk  PrimaryKey  Tmpl Id 
EXP_SRC_FILE_NM_UNQ  Alternate Key  Ext Src File Nm 

Template Relationships 
Parent Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype 
Child Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype 
Template Archive Request  Identifying  One To Zero or More          NO 
Template Macro  Identifying  One To Zero or More          NO 
Template Signal Record  Identifying  One To Zero or More          NO 

Template Check Constraints 
Check Constraint Name  CheckConstraint 

Template Object Permissions 

User/Role Name  Grantee Type  Permission Type  Action Type  Is Action Extended  Is System 
Template Security Types 
Name  Current Value 

Template Bound Attachments 
Name  Current Value 

Template Where Used - Model Usage 
Mapped Object  Is User Defined?  Denormalization Mappings  Description  Bound Attachments 
Logical
EPICS.Template 
NO       
ALARM_MYSQL (MySQL)
Does Not Exist 
NO       
ALARM_ORACLE (Oracle)
Does Not Exist 
NO       
BICS (Oracle)
Does Not Exist 
NO       
BLM (Oracle)
Does Not Exist 
NO       
BYPASS_REQ (Oracle)
Does Not Exist 
NO       
CHAN_ARCH (Oracle)
Does Not Exist 
NO       
CNMS_PRPSL (Oracle)
Does Not Exist 
NO       
DIAG (Oracle)
Does Not Exist 
NO       
DIAG_MPS (Oracle)
Does Not Exist 
NO       
ENGA (Oracle)
Does Not Exist 
NO       
EPICS (Oracle)
EPICS.TEMPLATE 
NO       
EQUIP (Oracle)
Does Not Exist 
NO       
EXPRESS (Oracle)
Does Not Exist 
NO       
ICS_SFTW_APPL (Oracle)
Does Not Exist 
NO       
INSTR (Oracle)
Does Not Exist 
NO       
Instrument Logbook (Oracle)
Does Not Exist 
NO       
INVT (Oracle)
Does Not Exist 
NO       
IONSRC (Oracle)
Does Not Exist 
NO       
IONSRC1 (Oracle)
Does Not Exist 
NO       
IPTSv5 (Oracle)
Does Not Exist 
NO       
IRMISBase (Oracle)
Does Not Exist 
NO       
Logbook (Oracle)
Does Not Exist 
NO       
Magnet (Oracle)
Does Not Exist 
NO       
MPS (Oracle)
Does Not Exist 
NO       
NS_OPER (Oracle)
Does Not Exist 
NO       
OPER (Oracle)
Does Not Exist 
NO       
PART (Oracle)
Does Not Exist 
NO       
PRINT (Oracle)
Does Not Exist 
NO       
PROC (Oracle)
Does Not Exist 
NO       
PRPSL (Oracle)
Does Not Exist 
NO       
PUBL (Oracle)
Does Not Exist 
NO       
PUBL_V1 (Oracle)
Does Not Exist 
NO       
PV_LOGGER (Oracle)
Does Not Exist 
NO       
SCORE (Oracle)
Does Not Exist 
NO       
SICAT (Oracle)
Does Not Exist 
NO       
SMPL (Oracle)
Does Not Exist 
NO       
SMPLACT (Oracle)
Does Not Exist 
NO       
SURVEY (Oracle)
Does Not Exist 
NO       
Watchman (Oracle)
Does Not Exist 
NO       
XAL_OPTICS (Oracle)
Does Not Exist 
NO       
XF_ADMIN (Oracle)
Does Not Exist 
NO       

Template Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
Logical  EPICS 
EPICS (Oracle)  Main Model 

Template Data Movement Rules 
Name  Type  Rule Text/Value