|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectasjava.uniobjects.UniBase
asjava.uniobjects.UniFile
asjava.uniobjects.UniDictionary
UniDictionary
is used to control access to UniVerse dictionary
files. It is an extension of the standard UniFile
class
Field Summary |
---|
Fields inherited from class asjava.uniobjects.UniFile |
---|
uniFileHandle |
Fields inherited from class asjava.uniobjects.UniBase |
---|
inPacket, outPacket, uniConnection, uniEncryptionType, uniParentSession, uniStatus |
Constructor Summary | |
---|---|
UniDictionary()
Constructs a UniDictionary object |
|
UniDictionary(UniSession aSession,
java.lang.Object aDictName,
int dictFlag)
|
Method Summary | |
---|---|
UniString |
getAssoc()
Returns the current ASSOC field from the dictionary |
UniString |
getAssoc(java.lang.Object aRecordID)
Returns the current ASSOC field from the dictionary for the record ID specified |
UniString |
getConv()
Returns the current CONV field from the dictionary |
UniString |
getConv(java.lang.Object aRecordID)
Returns the current CONV field from the dictionary for the recordID specified |
UniString |
getFormat()
Returns the current FORMAT field from the dictionary |
UniString |
getFormat(java.lang.Object aRecordID)
Returns the current FORMAT field from the dictionary for the recordID specified |
UniString |
getLoc()
Returns the current LOC field from the dictionary |
UniString |
getLoc(java.lang.Object aRecordID)
Returns the current LOC field from the dictionary for the recordID specified |
UniString |
getName()
Returns the current NAME field from the dictionary |
UniString |
getName(java.lang.Object aRecordID)
Returns the current NAME field from the dictionary for the recordID specified |
UniString |
getSM()
Returns the current SM field (single/multivalued) from the dictionary |
UniString |
getSM(java.lang.Object aRecordID)
Returns the current SM field (single/multivalued) from the dictionary for the field specified |
UniString |
getSQLType()
Returns the current SQLTYPE field from the dictionary |
UniString |
getSQLType(java.lang.Object aRecordID)
Returns the current SQLTYPE field from the dictionary for the field specified |
UniString |
getType()
Returns the current TYPE field from the dictionary |
UniString |
getType(java.lang.Object aRecordID)
Returns the current TYPE field from the dictionary for the recordID specified |
void |
setAssoc(java.lang.Object aString)
Sets the ASSOC field from the dictionary to the String passed in |
void |
setAssoc(java.lang.Object aRecordID,
java.lang.Object aString)
Sets the ASSOC field of the recordID specified from the dictionary to the String passed in |
void |
setConv(java.lang.Object aString)
Sets the CONV field from the dictionary to the String passed in |
void |
setConv(java.lang.Object aRecordID,
java.lang.Object aString)
Sets the CONV field for the specified recordID from the dictionary to the String passed in |
void |
setFormat(java.lang.Object aString)
Sets the FORMAT field from the dictionary to the String passed in |
void |
setFormat(java.lang.Object aRecordID,
java.lang.Object aString)
Sets the FORMAT field for the recordID specified from the dictionary to the String passed in |
void |
setLoc(java.lang.Object aString)
Sets the LOC field from the dictionary to the String passed in |
void |
setLoc(java.lang.Object aRecordID,
java.lang.Object aString)
Sets the LOC field for the recordID specified from the dictionary to the String passed in |
void |
setName(java.lang.Object aString)
Sets the NAME field from the dictionary to the String passed in |
void |
setName(java.lang.Object aRecordID,
java.lang.Object aString)
Sets the NAME field for the recordID specified from the dictionary to the String passed in |
void |
setSM(java.lang.Object aString)
Sets the SM (single/multivalued) field from the dictionary to the String passed in |
void |
setSM(java.lang.Object aRecordID,
java.lang.Object aString)
Sets the SM (single/multivalued) field for the recordID specified from the dictionary to the String passed in |
void |
setSQLType(java.lang.Object aString)
Sets the SQLTYPE field from the dictionary to the String passed in |
void |
setSQLType(java.lang.Object aRecordID,
java.lang.Object aString)
Sets the SQLTYPE field for the recordID specified from the dictionary to the String passed in |
void |
setType(java.lang.Object aString)
Sets the TYPE field from the dictionary to the String passed in |
void |
setType(java.lang.Object aRecordID,
java.lang.Object aString)
Sets the TYPE field for the recordID specified from the dictionary to the String passed in |
Methods inherited from class asjava.uniobjects.UniFile |
---|
clearFile, close, deleteRecord, deleteRecord, deleteRecord, fileAction, getAkInfo, getBlockingStrategy, getFileName, getFileType, getLockStrategy, getRecord, getRecordID, getReleaseStrategy, isOpen, isRecordLocked, isRecordLocked, iType, lockFile, lockRecord, lockRecord, lockRecord, open, read, read, read, read, readField, readField, readField, readField, readNamedField, readNamedField, readNamedField, setBlockingStrategy, setFileName, setLockStrategy, setRecord, setRecordID, setReleaseStrategy, unlockFile, unlockRecord, unlockRecord, unlockRecord, write, write, write, write, writeField, writeField, writeField, writeField, writeField, writeNamedField, writeNamedField, writeNamedField |
Methods inherited from class asjava.uniobjects.UniBase |
---|
getEncryptionType, isCommandActive, setEncryptionType, status |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UniDictionary() throws UniFileException
UniDictionary
object
UniFileException
- is thrown if an error occurspublic UniDictionary(UniSession aSession, java.lang.Object aDictName, int dictFlag) throws UniFileException
Method Detail |
public UniString getAssoc() throws UniFileException
UniFileException
- is thrown if an error occurssetAssoc(java.lang.Object)
public UniString getAssoc(java.lang.Object aRecordID) throws UniFileException
aRecordID
- String representing which recordID from the dictionary to examine
UniFileException
- is thrown if an error occurssetAssoc(java.lang.Object)
public void setAssoc(java.lang.Object aString) throws UniFileException
aString
- a String representing the new value of the ASSOC field
UniFileException
- is thrown if an error occursgetAssoc()
public void setAssoc(java.lang.Object aRecordID, java.lang.Object aString) throws UniFileException
aRecordID
- a String representing the recordID to be modifiedaString
- a String representing the new value of the ASSOC field
UniFileException
- is thrown if an error occursgetAssoc()
public UniString getConv() throws UniFileException
UniFileException
- is thrown if an error occurssetConv(java.lang.Object)
public UniString getConv(java.lang.Object aRecordID) throws UniFileException
aRecordID
- a String representing the recordID to be examined
UniFileException
- is thrown if an error occurssetConv(java.lang.Object)
public void setConv(java.lang.Object aString) throws UniFileException
aString
- a String representing the new value of the CONV field
UniFileException
- is thrown if an error occursgetConv()
public void setConv(java.lang.Object aRecordID, java.lang.Object aString) throws UniFileException
aRecordID
- a String representing the recordID from the dictionary to modifyaString
- a String representing the new value of the CONV field
UniFileException
- is thrown if an error occursgetConv()
public UniString getFormat() throws UniFileException
UniFileException
- is thrown if an error occurssetFormat(java.lang.Object)
public UniString getFormat(java.lang.Object aRecordID) throws UniFileException
aRecordID
- a String representing which recordID to examine
UniFileException
- is thrown if an error occurssetFormat(java.lang.Object)
public void setFormat(java.lang.Object aString) throws UniFileException
aString
- a String representing the new value of the FORMAT field
UniFileException
- is thrown if an error occursgetFormat()
public void setFormat(java.lang.Object aRecordID, java.lang.Object aString) throws UniFileException
aRecordID
- a String representing the recordID from the dictionary to modifyaString
- a String representing the new value of the FORMAT field
UniFileException
- is thrown if an error occursgetFormat()
public UniString getLoc() throws UniFileException
UniFileException
- is thrown if an error occurssetLoc(java.lang.Object)
public UniString getLoc(java.lang.Object aRecordID) throws UniFileException
aRecordID
- a String representing which recordID to examine
UniFileException
- is thrown if an error occurssetLoc(java.lang.Object)
public void setLoc(java.lang.Object aString) throws UniFileException
aString
- a String representing the new value of the LOC field
UniFileException
- is thrown if an error occursgetLoc()
public void setLoc(java.lang.Object aRecordID, java.lang.Object aString) throws UniFileException
aRecordID
- a String representing the recordID from the dictionary to modifyaString
- a String representing the new value of the LOC field
UniFileException
- is thrown if an error occursgetLoc()
public UniString getName() throws UniFileException
UniFileException
- is thrown if an error occurssetName(java.lang.Object)
public UniString getName(java.lang.Object aRecordID) throws UniFileException
aRecordID
- a String representing which recordID from the dictionary to examine
UniFileException
- is thrown if an error occurssetName(java.lang.Object)
public void setName(java.lang.Object aString) throws UniFileException
aString
- a String representing the new value of the NAME field
UniFileException
- is thrown if an error occursgetName()
public void setName(java.lang.Object aRecordID, java.lang.Object aString) throws UniFileException
aRecordID
- a String representing which recordID from the dictionary to modifyaString
- a String representing the new value of the NAME field
UniFileException
- is thrown if an error occursgetName()
public UniString getSM() throws UniFileException
UniFileException
- is thrown if an error occurssetSM(java.lang.Object)
public UniString getSM(java.lang.Object aRecordID) throws UniFileException
aRecordID
- a String representing which recordID to examine
UniFileException
- is thrown if an error occurssetSM(java.lang.Object)
public void setSM(java.lang.Object aString) throws UniFileException
aString
- a String representing the new value of the SM field
UniFileException
- is thrown if an error occursgetSM()
public void setSM(java.lang.Object aRecordID, java.lang.Object aString) throws UniFileException
aRecordID
- a String representing which dictionary recordID to modifyaString
- a String representing the new value of the SM field
UniFileException
- is thrown if an error occursgetSM()
public UniString getSQLType() throws UniFileException
UniFileException
- is thrown if an error occurssetSQLType(java.lang.Object)
public UniString getSQLType(java.lang.Object aRecordID) throws UniFileException
aRecordID
- a String representing which recordID to examine
UniFileException
- is thrown if an error occurssetSQLType(java.lang.Object)
public void setSQLType(java.lang.Object aString) throws UniFileException
aString
- a String representing the new value of the SQLTYPE field
UniFileException
- is thrown if an error occursgetSQLType()
public void setSQLType(java.lang.Object aRecordID, java.lang.Object aString) throws UniFileException
aRecordID
- a String representing which dictionary recordID to modifyaString
- a String representing the new value of the SQLTYPE field
UniFileException
- is thrown if an error occursgetSQLType()
public UniString getType() throws UniFileException
UniFileException
- is thrown if an error occurssetType(java.lang.Object)
public UniString getType(java.lang.Object aRecordID) throws UniFileException
aRecordID
- a String representing which recordID to examine
UniFileException
- is thrown if an error occurssetType(java.lang.Object)
public void setType(java.lang.Object aString) throws UniFileException
aString
- a String representing the new value of the TYPE field
UniFileException
- is thrown if an error occursgetType()
public void setType(java.lang.Object aRecordID, java.lang.Object aString) throws UniFileException
aRecordID
- a String representing which dictionary recordID to modifyaString
- a String representing the new value of the TYPE field
UniFileException
- is thrown if an error occursgetType()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |