All Packages Class Hierarchy This Package Previous Next Index
Class asjava.uniobjects.UniDictionary
java.lang.Object
|
+----asjava.uniobjects.UniBase
|
+----asjava.uniobjects.UniFile
|
+----asjava.uniobjects.UniDictionary
- public class UniDictionary
- extends UniFile
UniDictionary
is used to control access to UniVerse dictionary
files. It is an extension of the standard UniFile
class
- Version:
- Version 1.0
- Author:
- David T. Meeks
-
UniDictionary()
- Constructs a
UniDictionary
object
-
UniDictionary(UniSession, Object, int)
-
-
getAssoc()
- Returns the current ASSOC field from the dictionary
-
getAssoc(Object)
- Returns the current ASSOC field from the dictionary for the record ID specified
-
getConv()
- Returns the current CONV field from the dictionary
-
getConv(Object)
- Returns the current CONV field from the dictionary for the recordID specified
-
getFormat()
- Returns the current FORMAT field from the dictionary
-
getFormat(Object)
- Returns the current FORMAT field from the dictionary for the recordID specified
-
getLoc()
- Returns the current LOC field from the dictionary
-
getLoc(Object)
- Returns the current LOC field from the dictionary for the recordID specified
-
getName()
- Returns the current NAME field from the dictionary
-
getName(Object)
- Returns the current NAME field from the dictionary for the recordID specified
-
getSM()
- Returns the current SM field (single/multivalued) from the dictionary
-
getSM(Object)
- Returns the current SM field (single/multivalued) from the dictionary for the field specified
-
getSQLType()
- Returns the current SQLTYPE field from the dictionary
-
getSQLType(Object)
- Returns the current SQLTYPE field from the dictionary for the field specified
-
getType()
- Returns the current TYPE field from the dictionary
-
getType(Object)
- Returns the current TYPE field from the dictionary for the recordID specified
-
setAssoc(Object)
- Sets the ASSOC field from the dictionary to the String passed in
-
setAssoc(Object, Object)
- Sets the ASSOC field of the recordID specified from the dictionary to the String passed in
-
setConv(Object)
- Sets the CONV field from the dictionary to the String passed in
-
setConv(Object, Object)
- Sets the CONV field for the specified recordID from the dictionary to the String passed in
-
setFormat(Object)
- Sets the FORMAT field from the dictionary to the String passed in
-
setFormat(Object, Object)
- Sets the FORMAT field for the recordID specified from the dictionary to the String passed in
-
setLoc(Object)
- Sets the LOC field from the dictionary to the String passed in
-
setLoc(Object, Object)
- Sets the LOC field for the recordID specified from the dictionary to the String passed in
-
setName(Object)
- Sets the NAME field from the dictionary to the String passed in
-
setName(Object, Object)
- Sets the NAME field for the recordID specified from the dictionary to the String passed in
-
setSM(Object)
- Sets the SM (single/multivalued) field from the dictionary to the String passed in
-
setSM(Object, Object)
- Sets the SM (single/multivalued) field for the recordID specified from the dictionary to the String passed in
-
setSQLType(Object)
- Sets the SQLTYPE field from the dictionary to the String passed in
-
setSQLType(Object, Object)
- Sets the SQLTYPE field for the recordID specified from the dictionary to the String passed in
-
setType(Object)
- Sets the TYPE field from the dictionary to the String passed in
-
setType(Object, Object)
- Sets the TYPE field for the recordID specified from the dictionary to the String passed in
UniDictionary
public UniDictionary() throws UniFileException
- Constructs a
UniDictionary
object
- Throws: UniFileException
- is thrown if an error occurs
UniDictionary
public UniDictionary(UniSession aSession,
Object aDictName,
int dictFlag) throws UniFileException
getAssoc
public UniString getAssoc() throws UniFileException
- Returns the current ASSOC field from the dictionary
- Returns:
- a UniString representing the ASSOC field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- setAssoc
getAssoc
public UniString getAssoc(Object aRecordID) throws UniFileException
- Returns the current ASSOC field from the dictionary for the record ID specified
- Parameters:
- aRecordID - String representing which recordID from the dictionary to examine
- Returns:
- a UniString representing the ASSOC field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- setAssoc
setAssoc
public void setAssoc(Object aString) throws UniFileException
- Sets the ASSOC field from the dictionary to the String passed in
- Parameters:
- aString - a String representing the new value of the ASSOC field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- getAssoc
setAssoc
public void setAssoc(Object aRecordID,
Object aString) throws UniFileException
- Sets the ASSOC field of the recordID specified from the dictionary to the String passed in
- Parameters:
- aRecordID - a String representing the recordID to be modified
- aString - a String representing the new value of the ASSOC field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- getAssoc
getConv
public UniString getConv() throws UniFileException
- Returns the current CONV field from the dictionary
- Returns:
- a UniString representing the CONV field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- setConv
getConv
public UniString getConv(Object aRecordID) throws UniFileException
- Returns the current CONV field from the dictionary for the recordID specified
- Parameters:
- aRecordID - a String representing the recordID to be examined
- Returns:
- a UniString representing the CONV field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- setConv
setConv
public void setConv(Object aString) throws UniFileException
- Sets the CONV field from the dictionary to the String passed in
- Parameters:
- aString - a String representing the new value of the CONV field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- getConv
setConv
public void setConv(Object aRecordID,
Object aString) throws UniFileException
- Sets the CONV field for the specified recordID from the dictionary to the String passed in
- Parameters:
- aRecordID - a String representing the recordID from the dictionary to modify
- aString - a String representing the new value of the CONV field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- getConv
getFormat
public UniString getFormat() throws UniFileException
- Returns the current FORMAT field from the dictionary
- Returns:
- a UniString representing the FORMAT field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- setFormat
getFormat
public UniString getFormat(Object aRecordID) throws UniFileException
- Returns the current FORMAT field from the dictionary for the recordID specified
- Parameters:
- aRecordID - a String representing which recordID to examine
- Returns:
- a UniString representing the FORMAT field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- setFormat
setFormat
public void setFormat(Object aString) throws UniFileException
- Sets the FORMAT field from the dictionary to the String passed in
- Parameters:
- aString - a String representing the new value of the FORMAT field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- getFormat
setFormat
public void setFormat(Object aRecordID,
Object aString) throws UniFileException
- Sets the FORMAT field for the recordID specified from the dictionary to the String passed in
- Parameters:
- aRecordID - a String representing the recordID from the dictionary to modify
- aString - a String representing the new value of the FORMAT field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- getFormat
getLoc
public UniString getLoc() throws UniFileException
- Returns the current LOC field from the dictionary
- Returns:
- a UniString representing the LOC field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- setLoc
getLoc
public UniString getLoc(Object aRecordID) throws UniFileException
- Returns the current LOC field from the dictionary for the recordID specified
- Parameters:
- aRecordID - a String representing which recordID to examine
- Returns:
- a UniString representing the LOC field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- setLoc
setLoc
public void setLoc(Object aString) throws UniFileException
- Sets the LOC field from the dictionary to the String passed in
- Parameters:
- aString - a String representing the new value of the LOC field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- getLoc
setLoc
public void setLoc(Object aRecordID,
Object aString) throws UniFileException
- Sets the LOC field for the recordID specified from the dictionary to the String passed in
- Parameters:
- aRecordID - a String representing the recordID from the dictionary to modify
- aString - a String representing the new value of the LOC field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- getLoc
getName
public UniString getName() throws UniFileException
- Returns the current NAME field from the dictionary
- Returns:
- a UniString representing the NAME field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- setName
getName
public UniString getName(Object aRecordID) throws UniFileException
- Returns the current NAME field from the dictionary for the recordID specified
- Parameters:
- aRecordID - a String representing which recordID from the dictionary to examine
- Returns:
- a UniString representing the NAME field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- setName
setName
public void setName(Object aString) throws UniFileException
- Sets the NAME field from the dictionary to the String passed in
- Parameters:
- aString - a String representing the new value of the NAME field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- getName
setName
public void setName(Object aRecordID,
Object aString) throws UniFileException
- Sets the NAME field for the recordID specified from the dictionary to the String passed in
- Parameters:
- aRecordID - a String representing which recordID from the dictionary to modify
- aString - a String representing the new value of the NAME field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- getName
getSM
public UniString getSM() throws UniFileException
- Returns the current SM field (single/multivalued) from the dictionary
- Returns:
- a UniString representing the SM field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- setSM
getSM
public UniString getSM(Object aRecordID) throws UniFileException
- Returns the current SM field (single/multivalued) from the dictionary for the field specified
- Parameters:
- aRecordID - a String representing which recordID to examine
- Returns:
- a UniString representing the SM field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- setSM
setSM
public void setSM(Object aString) throws UniFileException
- Sets the SM (single/multivalued) field from the dictionary to the String passed in
- Parameters:
- aString - a String representing the new value of the SM field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- getSM
setSM
public void setSM(Object aRecordID,
Object aString) throws UniFileException
- Sets the SM (single/multivalued) field for the recordID specified from the dictionary to the String passed in
- Parameters:
- aRecordID - a String representing which dictionary recordID to modify
- aString - a String representing the new value of the SM field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- getSM
getSQLType
public UniString getSQLType() throws UniFileException
- Returns the current SQLTYPE field from the dictionary
- Returns:
- a UniString representing the SQLTYPE field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- setSQLType
getSQLType
public UniString getSQLType(Object aRecordID) throws UniFileException
- Returns the current SQLTYPE field from the dictionary for the field specified
- Parameters:
- aRecordID - a String representing which recordID to examine
- Returns:
- a UniString representing the SQLTYPE field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- setSQLType
setSQLType
public void setSQLType(Object aString) throws UniFileException
- Sets the SQLTYPE field from the dictionary to the String passed in
- Parameters:
- aString - a String representing the new value of the SQLTYPE field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- getSQLType
setSQLType
public void setSQLType(Object aRecordID,
Object aString) throws UniFileException
- Sets the SQLTYPE field for the recordID specified from the dictionary to the String passed in
- Parameters:
- aRecordID - a String representing which dictionary recordID to modify
- aString - a String representing the new value of the SQLTYPE field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- getSQLType
getType
public UniString getType() throws UniFileException
- Returns the current TYPE field from the dictionary
- Returns:
- a UniString representing the TYPE field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- setType
getType
public UniString getType(Object aRecordID) throws UniFileException
- Returns the current TYPE field from the dictionary for the recordID specified
- Parameters:
- aRecordID - a String representing which recordID to examine
- Returns:
- a UniString representing the TYPE field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- setType
setType
public void setType(Object aString) throws UniFileException
- Sets the TYPE field from the dictionary to the String passed in
- Parameters:
- aString - a String representing the new value of the TYPE field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- getType
setType
public void setType(Object aRecordID,
Object aString) throws UniFileException
- Sets the TYPE field for the recordID specified from the dictionary to the String passed in
- Parameters:
- aRecordID - a String representing which dictionary recordID to modify
- aString - a String representing the new value of the TYPE field
- Throws: UniFileException
- is thrown if an error occurs
- See Also:
- getType
All Packages Class Hierarchy This Package Previous Next Index