|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sandev.basics.Authorizer.AuthorizerNodeDecl
org.sandev.basics.Authorizer.AuthorizerNodeInstance
AUTOGENERATED FILE, DO NOT EDIT DIRECTLY.
source: org.sandev.basics.Authorizer.AuthorizerNodeDecl
generator: org.sandev.generator.NodeInstClassGenerator
time: Dec 2, 2005 6:38:50 PM
This file contains all declared configuration and messaging parameters for this node.
| Field Summary | |
protected NodeInstance[] |
helperNodes
Additional nodes instantiated with this node running together as a logical subsystem. |
protected int |
logLevel
Calls to log with severity levels less than this value will be ignored. |
static int |
LOGLEVEL_DEBUG
Possible value for logLevel |
static int |
LOGLEVEL_ERROR
Possible value for logLevel |
static int |
LOGLEVEL_FATAL
Possible value for logLevel |
static int |
LOGLEVEL_INFO
Possible value for logLevel |
static int |
LOGLEVEL_WARN
Possible value for logLevel |
protected java.lang.String |
nodeInstanceName
The unique name identifying this specific node instance. |
protected java.lang.String |
servername
The name of the server this instance will be running on. |
| Fields inherited from class org.sandev.basics.Authorizer.AuthorizerNodeDecl |
authFilterClassName, authUserLookupInstanceName, encryptorName, lookupInstanceName, serializerClassName |
| Fields inherited from interface org.sandev.basics.structs.NodeInstance |
MSGMODE_DIRECT, MSGMODE_SECURE, MSGOPTIMIZE_IF_POSSIBLE, MSGOPTIMIZE_NEVER |
| Fields inherited from interface org.sandev.basics.structs.SandInstanceMessage |
FIELDCHECK_INVALIDVAL, FIELDCHECK_NOTAREF, FIELDCHECK_NOTINRANGE, FIELDCHECK_NULLARRAY, FIELDCHECK_STRINGOVER, FIELDCHECK_UNKNOWNVAL, FIELDFLAG_BINARY, FIELDFLAG_ENCRYPT, FIELDFLAG_INTERNAL, FIELDFLAG_NOECHO, FIELDFLAG_OBFUSCATE, FIELDFLAG_STRINGPERSIST, FIELDFLAG_UNIQUE, GENMOD_ACTION_APPEND, GENMOD_ACTION_INSERT, GENMOD_ACTION_REMOVE, GENMOD_ACTION_SET |
| Constructor Summary | |
AuthorizerNodeInstance()
Default constructor calls init. |
|
| Method Summary | |
void |
addHelperNodes(NodeInstance element)
Appends a value to helperNodes |
void |
addHelperNodes(NodeInstance[] elements)
Appends an array of values to helperNodes |
void |
clearHelperNodes()
Clears all values from helperNodes |
AuthorizerNodeInstance |
cloneAuthorizerNodeInstance()
Make a deep copy of this AuthorizerNodeInstance. |
SandInstanceMessage |
cloneMessage()
Calls cloneAuthorizerNodeInstance |
SandInstanceMessage |
convertToSuperstructClass()
Return a new instance of the message associated with the superstruct of this instance. |
void |
copyDataFrom(AuthorizerNodeInstance other)
Deep copy all the data from the specified instance. |
void |
copyFieldValue(java.lang.String fieldName,
SandInstanceMessage other)
Copy the specified field from the given instance. |
java.lang.String |
debugDump(java.lang.String prefix)
Dump this instance into a debug printable string. |
void |
defaultField(java.lang.String fieldname)
Set the specified field to its default value. |
boolean |
fieldHasFlag(java.lang.String fieldname,
int fieldflag)
Return true if the named field declares the indicated flag, false otherwise. |
boolean |
fieldsValid()
Validate the fields as specified in the SandInstanceMessage interface |
SandAttrVal[] |
fieldValidate(SandAttrVal[] checkFields)
Validate the fields as specified in the SandInstanceMessage interface |
java.lang.Object |
generalAccessor(java.lang.String fieldspec)
General field accessor method. |
SandAttrVal |
generalDereference(java.lang.String fieldspec)
General reference field accessor method. |
void |
generalModifier(int action,
java.lang.String field,
int index,
java.lang.Object val)
General mutator method. |
java.lang.String[] |
getAllFields()
Return an array of all fields for this class. |
java.lang.String |
getAuthFilterClassName()
Accessor for authFilterClassName |
static java.lang.String |
getAuthFilterClassNameDefaultValue()
Default value for authFilterClassName. |
java.lang.String |
getAuthFilterClassNameFieldPrintValue()
Return the print name of the authFilterClassName field. |
static boolean |
getAuthFilterClassNameFlag(int fieldflag)
Field flag accessor. |
static java.lang.String |
getAuthFilterClassNameInvalidValue()
Invalid value for authFilterClassName. |
static int |
getAuthFilterClassNameLengthMax()
Maximum authFilterClassName length is 120 characters |
static int |
getAuthFilterClassNameLengthNorm()
Normal authFilterClassName length is 60 characters |
java.lang.String |
getAuthFilterClassNameMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getAuthFilterClassNamePrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getAuthFilterClassNameRange()
Return the range specification for this field |
java.lang.String |
getAuthFilterClassNameValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
java.lang.String |
getAuthUserLookupInstanceName()
Accessor for authUserLookupInstanceName |
static java.lang.String |
getAuthUserLookupInstanceNameDefaultValue()
Default value for authUserLookupInstanceName. |
java.lang.String |
getAuthUserLookupInstanceNameFieldPrintValue()
Return the print name of the authUserLookupInstanceName field. |
static boolean |
getAuthUserLookupInstanceNameFlag(int fieldflag)
Field flag accessor. |
static java.lang.String |
getAuthUserLookupInstanceNameInvalidValue()
Invalid value for authUserLookupInstanceName. |
static int |
getAuthUserLookupInstanceNameLengthMax()
Maximum authUserLookupInstanceName length is 70 characters |
static int |
getAuthUserLookupInstanceNameLengthNorm()
Normal authUserLookupInstanceName length is 30 characters |
java.lang.String |
getAuthUserLookupInstanceNameMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getAuthUserLookupInstanceNamePrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getAuthUserLookupInstanceNameRange()
Return the range specification for this field |
java.lang.String |
getAuthUserLookupInstanceNameValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
SandCollectionMessage |
getCollectionMessage()
Returns null |
java.lang.String[] |
getDisplayFields()
Return an array of the summary field names for this class. |
java.lang.String[] |
getDisplayValues()
Return the values for the summary fields. |
java.lang.String[] |
getDisplayValues(IDLookup lookup,
AuthUser user,
java.lang.String defaultVal)
Return the values for the summary fields, including dereference expressions. |
java.lang.String |
getEncryptorName()
Accessor for encryptorName |
static java.lang.String |
getEncryptorNameDefaultValue()
Default value for encryptorName. |
java.lang.String |
getEncryptorNameFieldPrintValue()
Return the print name of the encryptorName field. |
static boolean |
getEncryptorNameFlag(int fieldflag)
Field flag accessor. |
static java.lang.String |
getEncryptorNameInvalidValue()
Invalid value for encryptorName. |
static int |
getEncryptorNameLengthMax()
Maximum encryptorName length is 120 characters |
static int |
getEncryptorNameLengthNorm()
Normal encryptorName length is 60 characters |
java.lang.String |
getEncryptorNameMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getEncryptorNamePrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getEncryptorNameRange()
Return the range specification for this field |
java.lang.String |
getEncryptorNameValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
NodeInstance[] |
getHelperNodes()
Accessor for helperNodes |
NodeInstance |
getHelperNodes(int index)
Returns the element at the specified index. |
static NodeInstance[] |
getHelperNodesDefaultValue()
Default value for helperNodes. |
static NodeInstance |
getHelperNodesElementInvalidValue()
Invalid value for helperNodeselement. |
static boolean |
getHelperNodesFlag(int fieldflag)
Field flag accessor. |
static NodeInstance[] |
getHelperNodesInvalidValue()
Invalid value for helperNodes. |
java.lang.String |
getHelperNodesMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getHelperNodesRange()
Return the range specification for this field |
java.lang.String |
getHelperNodesValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
int |
getLogLevel()
Accessor for logLevel |
static java.lang.String[] |
getLogLevelActualVals()
Return an array of the possible values for this field as Strings. |
static int |
getLogLevelDefaultValue()
Default value for logLevel. |
static java.lang.String |
getLogLevelEnumSummary()
Return a single String summary of the possible enum values for debug and similar purposes. |
java.lang.String |
getLogLevelFieldPrintValue()
Return the print name of the logLevel field. |
static boolean |
getLogLevelFlag(int fieldflag)
Field flag accessor. |
static int |
getLogLevelInvalidValue()
Invalid value for logLevel. |
static java.lang.String[] |
getLogLevelKeyVals()
Return an array of unique keys for the values of this field. |
java.lang.String |
getLogLevelMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
static java.lang.String[] |
getLogLevelPrintVals()
Return an array of the possible values for this field in display format. |
java.lang.String |
getLogLevelPrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getLogLevelRange()
Return the range specification for this field |
java.lang.String |
getLogLevelValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
java.lang.String |
getLookupInstanceName()
Accessor for lookupInstanceName |
static java.lang.String |
getLookupInstanceNameDefaultValue()
Default value for lookupInstanceName. |
java.lang.String |
getLookupInstanceNameFieldPrintValue()
Return the print name of the lookupInstanceName field. |
static boolean |
getLookupInstanceNameFlag(int fieldflag)
Field flag accessor. |
static java.lang.String |
getLookupInstanceNameInvalidValue()
Invalid value for lookupInstanceName. |
static int |
getLookupInstanceNameLengthMax()
Maximum lookupInstanceName length is 70 characters |
static int |
getLookupInstanceNameLengthNorm()
Normal lookupInstanceName length is 30 characters |
java.lang.String |
getLookupInstanceNameMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getLookupInstanceNamePrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getLookupInstanceNameRange()
Return the range specification for this field |
java.lang.String |
getLookupInstanceNameValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
java.lang.String |
getNodeInstanceName()
Accessor for nodeInstanceName |
static java.lang.String |
getNodeInstanceNameDefaultValue()
Default value for nodeInstanceName. |
java.lang.String |
getNodeInstanceNameFieldPrintValue()
Return the print name of the nodeInstanceName field. |
static boolean |
getNodeInstanceNameFlag(int fieldflag)
Field flag accessor. |
static java.lang.String |
getNodeInstanceNameInvalidValue()
Invalid value for nodeInstanceName. |
static int |
getNodeInstanceNameLengthMax()
Maximum nodeInstanceName length is 70 characters |
static int |
getNodeInstanceNameLengthNorm()
Normal nodeInstanceName length is 30 characters |
java.lang.String |
getNodeInstanceNameMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getNodeInstanceNamePrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getNodeInstanceNameRange()
Return the range specification for this field |
java.lang.String |
getNodeInstanceNameValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
SandQueryMessage |
getQueryMessage()
Returns null |
java.lang.String |
getSerializerClassName()
Accessor for serializerClassName |
static java.lang.String |
getSerializerClassNameDefaultValue()
Default value for serializerClassName. |
java.lang.String |
getSerializerClassNameFieldPrintValue()
Return the print name of the serializerClassName field. |
static boolean |
getSerializerClassNameFlag(int fieldflag)
Field flag accessor. |
static java.lang.String |
getSerializerClassNameInvalidValue()
Invalid value for serializerClassName. |
static int |
getSerializerClassNameLengthMax()
Maximum serializerClassName length is 120 characters |
static int |
getSerializerClassNameLengthNorm()
Normal serializerClassName length is 60 characters |
java.lang.String |
getSerializerClassNameMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getSerializerClassNamePrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getSerializerClassNameRange()
Return the range specification for this field |
java.lang.String |
getSerializerClassNameValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
java.lang.String |
getServername()
Accessor for servername |
static java.lang.String |
getServernameDefaultValue()
Default value for servername. |
java.lang.String |
getServernameFieldPrintValue()
Return the print name of the servername field. |
static boolean |
getServernameFlag(int fieldflag)
Field flag accessor. |
static java.lang.String |
getServernameInvalidValue()
Invalid value for servername. |
static int |
getServernameLengthMax()
Maximum servername length is 70 characters |
static int |
getServernameLengthNorm()
Normal servername length is 30 characters |
java.lang.String |
getServernameMetatype()
Return the metatype text for this field, or "" if no metatype was declared. |
java.lang.String |
getServernamePrintValue()
Retrieve the current value of this field as a print String. |
java.lang.String |
getServernameRange()
Return the range specification for this field |
java.lang.String |
getServernameValidityCheck()
Return the empty string if the value of this field is valid according to the base SAND declarations. |
java.lang.String |
getShortName()
Returns the unqualified name of this message. |
SandStructMessage |
getStructMessage()
Returns a new AuthorizerNodeInstance instance |
SandUpdateMessage |
getUpdateMessage()
Returns null |
java.lang.String |
getValueForFieldName(java.lang.String fieldname,
IDLookup lookup,
AuthUser user,
java.lang.String defaultVal)
Returns the print representation of the value of the specified field, or the given default value if innaccessible. |
boolean |
helperNodesContains(NodeInstance val)
Returns true if helperNodes contains the specified value. |
int |
helperNodesIndexOf(NodeInstance val)
Return the index of the specified value in helperNodes, or -1 if not found. |
void |
init()
Initialize all fields to their default values |
void |
insertHelperNodes(int index,
NodeInstance value)
Insert the specified element at the specified index. |
boolean |
isEquivalent(SandMessage sm)
Declared field equivalence check as specified by the SandMessage interface. |
static java.lang.String |
logLevelActual2Print(java.lang.String actualVal)
Utility method to transform an actual value for this field into a print value. |
int |
logLevelLabelToValue(java.lang.String label)
Given a label, return the value for it. |
static java.lang.String |
logLevelPrint2Actual(java.lang.String printVal)
Utility method to transform a print value for this field into an actual value. |
static java.lang.String |
logLevelPrint2Key(java.lang.String printVal)
Utility method to transform a print value for this field into a key value. |
java.lang.String |
logLevelValueToLabel(int val)
Given a value, return the declared label for it. |
java.lang.String[] |
referenceValidate(java.lang.String[] locations,
java.lang.String prefix,
IDLookup idlookup,
NameLookup namelookup,
AuthUser au)
Validate the references as specified in the Resolvable interface. |
NodeInstance |
removeHelperNodes(int index)
Remove the element at the specified index and return it. |
boolean |
removeHelperNodesValue(NodeInstance value)
Removes the given element from helperNodes. |
ServerDeclaration |
resolveServernameReference(NameLookup lookup,
AuthUser au)
Converts a reference to an instance by looking it up. |
ServerDeclaration |
resolveServernameReferenceNonCrit(NameLookup lookup,
AuthUser au)
Calls standard method, eating any SandException and returning a new instance with all default values instead. |
void |
setAuthFilterClassName(java.lang.Object authFilterClassName)
Generic mutator for authFilterClassName |
void |
setAuthFilterClassName(java.lang.String authFilterClassName)
Mutator for authFilterClassName |
void |
setAuthUserLookupInstanceName(java.lang.Object authUserLookupInstanceName)
Generic mutator for authUserLookupInstanceName |
void |
setAuthUserLookupInstanceName(java.lang.String authUserLookupInstanceName)
Mutator for authUserLookupInstanceName |
void |
setEncryptorName(java.lang.Object encryptorName)
Generic mutator for encryptorName |
void |
setEncryptorName(java.lang.String encryptorName)
Mutator for encryptorName |
void |
setHelperNodes(int index,
NodeInstance value)
Set the value at the index specified. |
void |
setHelperNodes(NodeInstance[] helperNodes)
Mutator for helperNodes |
void |
setHelperNodes(java.lang.Object[] helperNodes)
Generic mutator for helperNodes |
void |
setLogLevel(int logLevel)
Mutator for logLevel |
void |
setLookupInstanceName(java.lang.Object lookupInstanceName)
Generic mutator for lookupInstanceName |
void |
setLookupInstanceName(java.lang.String lookupInstanceName)
Mutator for lookupInstanceName |
void |
setNodeInstanceName(java.lang.Object nodeInstanceName)
Generic mutator for nodeInstanceName |
void |
setNodeInstanceName(java.lang.String nodeInstanceName)
Mutator for nodeInstanceName |
void |
setSerializerClassName(java.lang.Object serializerClassName)
Generic mutator for serializerClassName |
void |
setSerializerClassName(java.lang.String serializerClassName)
Mutator for serializerClassName |
void |
setServername(java.lang.Object servername)
Generic mutator for servername |
void |
setServername(java.lang.String servername)
Mutator for servername |
int |
sizeofHelperNodes()
Returns the size of helperNodes. |
java.lang.String |
toString()
Return a string representation of this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String nodeInstanceName
protected java.lang.String servername
protected NodeInstance[] helperNodes
protected int logLevel
public static final int LOGLEVEL_DEBUG
public static final int LOGLEVEL_INFO
public static final int LOGLEVEL_WARN
public static final int LOGLEVEL_ERROR
public static final int LOGLEVEL_FATAL
| Constructor Detail |
public AuthorizerNodeInstance()
| Method Detail |
public boolean fieldHasFlag(java.lang.String fieldname,
int fieldflag)
fieldHasFlag in interface SandInstanceMessagepublic java.lang.String getSerializerClassName()
public void setSerializerClassName(java.lang.String serializerClassName)
public void setSerializerClassName(java.lang.Object serializerClassName)
public static boolean getSerializerClassNameFlag(int fieldflag)
public static int getSerializerClassNameLengthNorm()
public static int getSerializerClassNameLengthMax()
public static java.lang.String getSerializerClassNameDefaultValue()
public static java.lang.String getSerializerClassNameInvalidValue()
public java.lang.String getSerializerClassNamePrintValue()
Used for debug output, and as an initial value for
transformation and formatting.
public java.lang.String getSerializerClassNameFieldPrintValue()
public java.lang.String getSerializerClassNameRange()
public java.lang.String getSerializerClassNameValidityCheck()
public java.lang.String getSerializerClassNameMetatype()
public java.lang.String getEncryptorName()
public void setEncryptorName(java.lang.String encryptorName)
public void setEncryptorName(java.lang.Object encryptorName)
public static boolean getEncryptorNameFlag(int fieldflag)
public static int getEncryptorNameLengthNorm()
public static int getEncryptorNameLengthMax()
public static java.lang.String getEncryptorNameDefaultValue()
public static java.lang.String getEncryptorNameInvalidValue()
public java.lang.String getEncryptorNamePrintValue()
Used for debug output, and as an initial value for
transformation and formatting.
public java.lang.String getEncryptorNameFieldPrintValue()
public java.lang.String getEncryptorNameRange()
public java.lang.String getEncryptorNameValidityCheck()
public java.lang.String getEncryptorNameMetatype()
public java.lang.String getAuthFilterClassName()
public void setAuthFilterClassName(java.lang.String authFilterClassName)
public void setAuthFilterClassName(java.lang.Object authFilterClassName)
public static boolean getAuthFilterClassNameFlag(int fieldflag)
public static int getAuthFilterClassNameLengthNorm()
public static int getAuthFilterClassNameLengthMax()
public static java.lang.String getAuthFilterClassNameDefaultValue()
public static java.lang.String getAuthFilterClassNameInvalidValue()
public java.lang.String getAuthFilterClassNamePrintValue()
Used for debug output, and as an initial value for
transformation and formatting.
public java.lang.String getAuthFilterClassNameFieldPrintValue()
public java.lang.String getAuthFilterClassNameRange()
public java.lang.String getAuthFilterClassNameValidityCheck()
public java.lang.String getAuthFilterClassNameMetatype()
public java.lang.String getLookupInstanceName()
public void setLookupInstanceName(java.lang.String lookupInstanceName)
public void setLookupInstanceName(java.lang.Object lookupInstanceName)
public static boolean getLookupInstanceNameFlag(int fieldflag)
public static int getLookupInstanceNameLengthNorm()
public static int getLookupInstanceNameLengthMax()
public static java.lang.String getLookupInstanceNameDefaultValue()
public static java.lang.String getLookupInstanceNameInvalidValue()
public java.lang.String getLookupInstanceNamePrintValue()
Used for debug output, and as an initial value for
transformation and formatting.
public java.lang.String getLookupInstanceNameFieldPrintValue()
public java.lang.String getLookupInstanceNameRange()
public java.lang.String getLookupInstanceNameValidityCheck()
public java.lang.String getLookupInstanceNameMetatype()
public java.lang.String getAuthUserLookupInstanceName()
public void setAuthUserLookupInstanceName(java.lang.String authUserLookupInstanceName)
public void setAuthUserLookupInstanceName(java.lang.Object authUserLookupInstanceName)
public static boolean getAuthUserLookupInstanceNameFlag(int fieldflag)
public static int getAuthUserLookupInstanceNameLengthNorm()
public static int getAuthUserLookupInstanceNameLengthMax()
public static java.lang.String getAuthUserLookupInstanceNameDefaultValue()
public static java.lang.String getAuthUserLookupInstanceNameInvalidValue()
public java.lang.String getAuthUserLookupInstanceNamePrintValue()
Used for debug output, and as an initial value for
transformation and formatting.
public java.lang.String getAuthUserLookupInstanceNameFieldPrintValue()
public java.lang.String getAuthUserLookupInstanceNameRange()
public java.lang.String getAuthUserLookupInstanceNameValidityCheck()
public java.lang.String getAuthUserLookupInstanceNameMetatype()
public java.lang.String getNodeInstanceName()
getNodeInstanceName in interface NodeInstancepublic void setNodeInstanceName(java.lang.String nodeInstanceName)
public void setNodeInstanceName(java.lang.Object nodeInstanceName)
public static boolean getNodeInstanceNameFlag(int fieldflag)
public static int getNodeInstanceNameLengthNorm()
public static int getNodeInstanceNameLengthMax()
public static java.lang.String getNodeInstanceNameDefaultValue()
public static java.lang.String getNodeInstanceNameInvalidValue()
public java.lang.String getNodeInstanceNamePrintValue()
Used for debug output, and as an initial value for
transformation and formatting.
public java.lang.String getNodeInstanceNameFieldPrintValue()
public java.lang.String getNodeInstanceNameRange()
public java.lang.String getNodeInstanceNameValidityCheck()
public java.lang.String getNodeInstanceNameMetatype()
public java.lang.String getServername()
getServername in interface NodeInstancepublic void setServername(java.lang.String servername)
setServername in interface NodeInstance