|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.knowcenter.wag.egov.egiz.sig.SignatureTypeDefinition
public class SignatureTypeDefinition
Constructor Summary | |
---|---|
SignatureTypeDefinition(SettingsReader settings,
String type)
The constructor of the signature type definition. |
Method Summary | |
---|---|
boolean |
contains(String key)
This method checks if a given key is defined. |
protected static List |
filterOutNonRequiredFoundKeys(List keys)
Filters out all non required keys from the List of keys. |
String |
getCaptionFromKey(String key)
Returns a caption to a given key |
String |
getDescription()
|
List |
getFieldDefinitions()
Returns the list of field definitions of this Signature profile. |
Map |
getKeyCaptionMap()
|
Map |
getKeyValueMap()
|
Vector |
getRevertSortedCaptions()
|
Vector |
getRevertSortedKeys()
|
protected String |
getSettingsKeyBase()
|
Vector |
getSortedCaptions()
|
Vector |
getSortedKeys()
|
String |
getType()
|
String |
getValueFromKey(String key)
Returns a value to given key |
boolean |
isSemanticallyEqual(SignatureTypeDefinition other)
Tells if this signature profile is semantically equal to the other signature profile. |
SignatureFieldDefinition |
readFieldDefinition(String field_name)
Gets the field definition of the given Field. |
protected void |
readFieldDefinitions()
|
String |
toString()
The standard toString method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SignatureTypeDefinition(SettingsReader settings, String type) throws SignatureException
settings
- a SettingsReader instancetype
- the signature type to load
SignatureException
SettingsReader
Method Detail |
---|
public Map getKeyCaptionMap()
public Map getKeyValueMap()
public String getCaptionFromKey(String key)
key
-
public String getValueFromKey(String key)
key
-
public Vector getSortedKeys()
public Vector getSortedCaptions()
public Vector getRevertSortedCaptions()
public Vector getRevertSortedKeys()
public boolean contains(String key)
key
- to find
public String toString()
toString
in class Object
public String getType()
public String getDescription()
protected String getSettingsKeyBase()
public SignatureFieldDefinition readFieldDefinition(String field_name)
field_name
- The name of the field.
protected void readFieldDefinitions()
public List getFieldDefinitions()
public boolean isSemanticallyEqual(SignatureTypeDefinition other)
One profile is semantically equal to another one if the captions and keys of both profiles are equal and have the same order.
other
- The other signature profile.
protected static List filterOutNonRequiredFoundKeys(List keys)
keys
- The List of keys.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |