IRISLIB database
General Class Reference
Inheritance diagram for General:
Collaboration diagram for General:

Static Public Member Functions

_.Library.String ValidLANG (_.Library.String pMode, _.Library.String pKeywords)
 ValidLANG(pMode,pKeyword) checks that a LanguageMode attribute More...
 
_.Library.String ValidType (_.Library.String pType, _.Library.String pKeywords)
 ValidType(pType,pKeyword) checks that a Type attribute is valid. More...
 

Additional Inherited Members

- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 
- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Member Function Documentation

◆ ValidLANG()

_.Library.String ValidLANG ( _.Library.String  pMode,
_.Library.String  pKeywords 
)
static

ValidLANG(pMode,pKeyword) checks that a LanguageMode attribute

is valid. If the mode is valid then it is inserted into the pKeywords array (passed by reference) and returned as the result of ValidLANG

If the mode is invalid then ValidLANG returns "".

Note: If the pKeywords array contains a conflicting Type value or a conflicting LanguageMode value then the mode attribute is invalid.

◆ ValidType()

_.Library.String ValidType ( _.Library.String  pType,
_.Library.String  pKeywords 
)
static

ValidType(pType,pKeyword) checks that a Type attribute is valid.

If the type is valid then it is changed to upper case, inserted into the pKeywords array (passsed by reference) and returned as the result of ValidType

If the type is invalid then ValidType returns "".

Note: If the pKeywords array contains a conflicting Type value or a conflicting LanguageMode value then the Type attribute is invalid.