Package com.orchestranetworks.instance
Interface NewRecordContext
- All Known Subinterfaces:
AccessRuleForCreateContext
,NewTransientOccurrenceContext
public interface NewRecordContext
Context providing information on a record creation.
- Since:
- 5.9.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the parent association if the creation occurs from an association.Returns the source record value context if the creation occurs from an association.Returns the definition mode of the record being currently created.Returns the table reference field if the creation occurs from a table reference.Returns the source record value context if the creation occurs from a table reference.Returns the authenticated session performing the record creation.Returns the value context of the record being created.boolean
Returnstrue
if the new context is for a record duplication.
-
Method Details
-
getSession
Session getSession()Returns the authenticated session performing the record creation. -
getValueContext
ValueContext getValueContext()Returns the value context of the record being created. -
getDefinitionMode
DefinitionMode getDefinitionMode()Returns the definition mode of the record being currently created. -
isDuplication
boolean isDuplication()Returnstrue
if the new context is for a record duplication.- Since:
- 5.9.0
-
getAssociationLink
AssociationLink getAssociationLink()Returns the parent association if the creation occurs from an association. Returnsnull
otherwise.- Since:
- 5.9.0
-
getAssociationSourceRecordContext
ValueContext getAssociationSourceRecordContext()Returns the source record value context if the creation occurs from an association. Returnsnull
otherwise.- Since:
- 5.9.0
-
getReferencingNode
SchemaNode getReferencingNode()Returns the table reference field if the creation occurs from a table reference. Returnsnull
otherwise.- Since:
- 5.9.0
-
getReferencingRecordContext
ValueContext getReferencingRecordContext()Returns the source record value context if the creation occurs from a table reference. Returnsnull
otherwise.- Since:
- 5.9.0
-