InterSystems IRIS Data Platform 2020.4 > Class Reference > %SYS namespace > %Dictionary.XDataDefinition

%Dictionary.XDataDefinition

persistent class %Dictionary.XDataDefinition extends %Library.Persistent, %Dictionary.XDataDefinitionQuery

SQL Table Name: %Dictionary.XDataDefinition

Property Inventory

Method Inventory

Parameters

parameter SQLENABLED = 1;

Properties

property Data as %Stream.TmpCharacter;
The data stream.
Property methods: DataDelete(), DataGet(), DataGetObject(), DataGetObjectId(), DataGetSwizzled(), DataIsValid(), DataNewObject(), DataOid(), DataOpen(), DataSet(), DataSetObject(), DataSetObjectId(), DataUnSwizzle()
property Deprecated as %Boolean [ InitialExpression = 0 ];
True if this XDATA is deprecated.
Property methods: DeprecatedDisplayToLogical(), DeprecatedGet(), DeprecatedIsDefined(), DeprecatedIsValid(), DeprecatedLogicalToDisplay(), DeprecatedNormalize(), DeprecatedReset(), DeprecatedSet()
property Description as %RawString;
Specifies a description of the XData.
Property methods: DescriptionGet(), DescriptionIsDefined(), DescriptionIsValid(), DescriptionReset(), DescriptionSet()
property Internal as %Boolean [ InitialExpression = 0 ];
If true, then do not display this item in automatic documentation.
Property methods: InternalDisplayToLogical(), InternalGet(), InternalIsDefined(), InternalIsValid(), InternalLogicalToDisplay(), InternalNormalize(), InternalReset(), InternalSet()
property MimeType as %RawString [ InitialExpression = "text/xml" ];
Mime type of XData block.
Property methods: MimeTypeGet(), MimeTypeIsDefined(), MimeTypeIsValid(), MimeTypeReset(), MimeTypeSet()
property Name as %Dictionary.Identifier [ Required ];
The name of the xData block.
Property methods: NameGet(), NameIsDefined(), NameIsValid(), NameReset(), NameSet()
property Object as %RegisteredObject [ Calculated ];
The object representation of this XData block after correlating the XML and importing it
Property methods: ObjectGet()
property SchemaSpec as %RawString;
The schema definition of the data.
Property methods: SchemaSpecGet(), SchemaSpecIsDefined(), SchemaSpecIsValid(), SchemaSpecReset(), SchemaSpecSet()
property SequenceNumber as %Integer [ InitialExpression = 0 ];
SequenceNumber
Property methods: SequenceNumberDisplayToLogical(), SequenceNumberGet(), SequenceNumberIsDefined(), SequenceNumberIsValid(), SequenceNumberLogicalToDisplay(), SequenceNumberNormalize(), SequenceNumberReset(), SequenceNumberSet()
property XMLNamespace as %RawString;
The default XML NameSpace for the XDATA.
Property methods: XMLNamespaceGet(), XMLNamespaceIsDefined(), XMLNamespaceIsValid(), XMLNamespaceReset(), XMLNamespaceSet()
relationship parent as %Dictionary.ClassDefinition [ Required , Inverse = XDatas , Cardinality = parent ];
Pointer to the containing parent object
Property methods: parentCheck(), parentDelete(), parentGet(), parentGetObject(), parentGetObjectId(), parentGetSwizzled(), parentIsValid(), parentNewObject(), parentOnDelete(), parentRClose(), parentRExec(), parentRFetch(), parentRelate(), parentSQLCompute(), parentSet(), parentSetObject(), parentSetObjectId(), parentUnRelate(), parentUnSwizzle()

Methods

classmethod %Exists(oid As %ObjectIdentity) as %Boolean [ Language = objectscript ]
Inherited description: Checks to see if the object identified by the OID oid exists in the extent.

Returns %Boolean TRUE if it exists, FALSE if it does not.

classmethod %LockId(id As %String, shared As %Boolean = 0, timeout As %Integer) as %Status [ Language = objectscript ]
Inherited description: Obtain an exclusive or shared lock on the object identified by id. The type of lock obtained is determined by shared. This method is normally generated by the storage class for persistent classes using %Storage.Persistent or %Storage.SQL.
classmethod %UnlockId(id As %String, shared As %Boolean = 0, immediate As %Boolean = 0) as %Status [ Language = objectscript ]
Inherited description: Release an exclusive or shared lock on the object identified by id. The type of lock released is determined by shared. If this method is not overridden then the default implementation returns an error. This method is normally generated by the storage class for persistent classes using %Storage.Persistent or %Storage.SQL.
method DeprecatedIsDefined() as %Boolean [ Language = objectscript ]
method DeprecatedReset() [ Language = objectscript ]
method DeprecatedSet(value As %String = "") as %Status [ Language = objectscript ]
method DescriptionIsDefined() as %Boolean [ Language = objectscript ]
method DescriptionReset() [ Language = objectscript ]
method DescriptionSet(value As %String = "") as %Status [ Language = objectscript ]
method InternalIsDefined() as %Boolean [ Language = objectscript ]
method InternalReset() [ Language = objectscript ]
method InternalSet(value As %String = "") as %Status [ Language = objectscript ]
method MimeTypeIsDefined() as %Boolean [ Language = objectscript ]
method MimeTypeReset() [ Language = objectscript ]
method MimeTypeSet(value As %String = "") as %Status [ Language = objectscript ]
method NameIsDefined() as %Boolean [ Language = objectscript ]
method NameReset() [ Language = objectscript ]
method NameSet(value As %String = "") as %Status [ Language = objectscript ]
method ObjectGet() as %RegisteredObject [ Language = objectscript ]
method SchemaSpecIsDefined() as %Boolean [ Language = objectscript ]
method SchemaSpecReset() [ Language = objectscript ]
method SchemaSpecSet(value As %String = "") as %Status [ Language = objectscript ]
method SequenceNumberIsDefined() as %Boolean [ Language = objectscript ]
method SequenceNumberReset() [ Language = objectscript ]
method SequenceNumberSet(value As %String = "") as %Status [ Language = objectscript ]
method XMLNamespaceIsDefined() as %Boolean [ Language = objectscript ]
method XMLNamespaceReset() [ Language = objectscript ]
method XMLNamespaceSet(value As %String = "") as %Status [ Language = objectscript ]
classmethod parentOnDelete(id As %String, concurrency As %Integer) as %Status [ Language = objectscript ]

Indexes

index (IDKEY on Name) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()

Triggers

trigger OnDelete (AFTER event DELETE);
trigger OnInsertUpdate (BEFORE event INSERT/UPDATE);

Inherited Members

Inherited Methods

Feedback