C# Класс OpenADK.Library.au.Infrastructure.InfrastructureDTD

Metadata for the Schools Interoperability Framework (SIF)

SIFDTD defines global {@linkplain com.edustructures.sifworks.ElementDef} constants that describe SIF Data Objects, elements, and attributes across all supported versions of the SIF Specification. The ADK uses this metadata internally to parse and render SIF Data Objects. In addition, many of the framework APIs require that the programmer pass an ElementDef constant from the SIFDTD class to identify an object, element, or attribute.

ElementDef constants are named [PARENT_]ENTITY, where PARENT is the name of the parent element and ENTITY is the name of the element or attribute encapsulated by the ElementDef. Some examples of ElementDef constants defined by this class include:

IElementDefDescription SIFDTD.STUDENTPERSONALIdentifies the StudentPersonal data object SIFDTD.SCHOOLINFOIdentifies the SchoolInfo data object Many of the Adk's public interfaces require an ElementDef constant to be passed as a parameter. For example, the first parameter to the IZone.SetSubscriber method is an IElementDef: myZone.setSubscriber( SIFDTD.BUSINFO, this, ADKFlags.PROV_SUBSCRIBE ); ElementDef also identifies child elements and attributes as demonstrated by the Query.AddCondition method: Query query = new Query( SifDtd.STUDENTPERSONAL ); query.AddCondition( SifDtd.STUDENTPERSONAL_REFID, Condition.EQ, "4A37969803F0D00322AF0EB969038483" );

SDO Libraries

ElementDef metadata is grouped into "SDO Libraries", which are organized along SIF Working Group boundaries. SDO Libraries are loaded into the SifDdt class when the Adk is initialized. All or part of the metadata is loaded into depending on the flags passed to the Adk.Initialize(SifVersion, SdoLibraryType) method, metadata from one or more SDO Libraries may be loaded. For example, the following call loads metadata for the Student Information Working Group Objects and Transportation And Geographic Information Working Group Objects (Common Elements and Infrastructure Working Group Objects metadata is always loaded

Adk.Initialize( SiFVersion.LATEST, SdoLibraryType.Student | SdoLibraryType.Trans )

If an given SDO Library is not loaded, all of the SIFDTD constants that belong to that library will be null and cannot be referenced. For example, given the SDO Libraries loaded above, attempting to reference the SIFDTD.LIBRARYPATRONSTATUS object from the Library Automation Working Group would result in a NullPointerException:

SifDtd.LIBRARYPATRONSTATUS.Name;
Наследование: OpenADK.Library.Impl.SdoLibraryImpl
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
IDENTITY IElementDef
IDENTITYASSERTION IElementDef
IDENTITYASSERTIONS IElementDef
IDENTITYASSERTIONS_IDENTITYASSERTION IElementDef
IDENTITYASSERTION_SCHEMANAME IElementDef
IDENTITY_AUTHENTICATIONSOURCE IElementDef
IDENTITY_AUTHENTICATIONSOURCEGLOBALUID IElementDef
IDENTITY_IDENTITYASSERTIONS IElementDef
IDENTITY_PASSWORDLIST IElementDef
IDENTITY_REFID IElementDef
IDENTITY_SIF_EXTENDEDELEMENTS IElementDef
IDENTITY_SIF_METADATA IElementDef
IDENTITY_SIF_REFID IElementDef
PASSWORDLIST IElementDef
PASSWORDLIST_PASSWORD IElementDef

Открытые методы

Метод Описание
AddElementMappings ( IElementDef>.IDictionary dictionary ) : void
Load ( ) : void

Описание методов

AddElementMappings() публичный Метод

public AddElementMappings ( IElementDef>.IDictionary dictionary ) : void
dictionary IElementDef>.IDictionary
Результат void

Load() публичный Метод

public Load ( ) : void
Результат void

Описание свойств

IDENTITY публичное статическое свойство

public static IElementDef IDENTITY
Результат IElementDef

IDENTITYASSERTION публичное статическое свойство

public static IElementDef IDENTITYASSERTION
Результат IElementDef

IDENTITYASSERTIONS публичное статическое свойство

public static IElementDef IDENTITYASSERTIONS
Результат IElementDef

IDENTITYASSERTIONS_IDENTITYASSERTION публичное статическое свойство

public static IElementDef IDENTITYASSERTIONS_IDENTITYASSERTION
Результат IElementDef

IDENTITYASSERTION_SCHEMANAME публичное статическое свойство

public static IElementDef IDENTITYASSERTION_SCHEMANAME
Результат IElementDef

IDENTITY_AUTHENTICATIONSOURCE публичное статическое свойство

public static IElementDef IDENTITY_AUTHENTICATIONSOURCE
Результат IElementDef

IDENTITY_AUTHENTICATIONSOURCEGLOBALUID публичное статическое свойство

public static IElementDef IDENTITY_AUTHENTICATIONSOURCEGLOBALUID
Результат IElementDef

IDENTITY_IDENTITYASSERTIONS публичное статическое свойство

public static IElementDef IDENTITY_IDENTITYASSERTIONS
Результат IElementDef

IDENTITY_PASSWORDLIST публичное статическое свойство

public static IElementDef IDENTITY_PASSWORDLIST
Результат IElementDef

IDENTITY_REFID публичное статическое свойство

public static IElementDef IDENTITY_REFID
Результат IElementDef

IDENTITY_SIF_EXTENDEDELEMENTS публичное статическое свойство

public static IElementDef IDENTITY_SIF_EXTENDEDELEMENTS
Результат IElementDef

IDENTITY_SIF_METADATA публичное статическое свойство

public static IElementDef IDENTITY_SIF_METADATA
Результат IElementDef

IDENTITY_SIF_REFID публичное статическое свойство

public static IElementDef IDENTITY_SIF_REFID
Результат IElementDef

PASSWORDLIST публичное статическое свойство

public static IElementDef PASSWORDLIST
Результат IElementDef

PASSWORDLIST_PASSWORD публичное статическое свойство

public static IElementDef PASSWORDLIST_PASSWORD
Результат IElementDef