Data Model Types
You can find the list of available data types which can be represented by referencing the SimpleValueGroup production in cs-sdk-home/conf/xsd/datamodel.xsd XML schema.
cim1265
You can find the list of available data types which can be represented by referencing the
SimpleValueGroup
production in cs-sdk-home
/conf/xsd/datamodel.xsd XML schema.The basic types, which are part of the XML schema specifications, are:
- boolValueRepresents a Boolean value, true or false.
- intValueRepresents a 32-bit signed integer in the range [-2,147,483,648, 2,147,483,647]
- longValueRepresents 64-bit signed integer.
- FloatValueA 32-bit floating-point decimal number as specified in the IEEE 754-1985 standard.
- dblValueA 64-bit floating-point decimal number as specified in the IEEE 754-1985 standard. The external form is the same as the float datatype.
- dateValueDefines a UTC date in "YYYY-MM-DD" syntaxExample:1970-01-01
- dateTimeValueDefines a UTC date and time in "YYYY-MM-DD'T'HH:MM:SS" syntax.Example:1970-01-01T00:00:00
- timeValueUTC time value in "HH:MM:SS" syntaxExample: 00:00:00
- enumValueReferenced to fixed set of alternatives defined in metadata.Note:For more information, see the SoftdrinkVarieties enum in the SDKDYN connector's sdkdyn_metadata.xml for an example.
- flexiStrValueBasically a string, but allows validator/converter plug-ins to be triggered.For more information, see <flexiStrValue type="noComma"> type in the SDKDYN connector's metadata.xml, referenced in its connector.xml, for an example.
- binaryValueSignifies the value is a raw binary value which should be passed through unchanged.
In addition to these basic types the following types are also types built on top of them:
- setValueAn unordered collection of basic types, usually the right choice as the order of the values in an LDAP attribute is not guaranteed to be preserved. Remember to provide a baseType definition.
- sequenceValueAn ordered collection of basic types. Remember to provide a baseType definition.
- mapValueA map made up of entries consisting of a key (of a basic type) which maps to a value (either a basic type, collection, or sub-map).
- compoundValueClassRefFor attributes which have compound values this setting allows the class which defines their content to be named.For more information, see the