public class LibItem extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LIBRARY_ATTRIBUTES_TABLE_NAME
the name of the table in the database used to store attributes
|
Constructor and Description |
---|
LibItem()
public constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(java.lang.String name,
java.lang.String value) |
void |
addLsid(KeplerLSID lsid) |
java.lang.String |
debugString() |
void |
delete(java.sql.Statement stmt)
Delete this populated LibItem from the Library_Index table.
|
java.util.Hashtable<java.lang.String,java.lang.String> |
getAttributes() |
java.lang.String |
getAttributeValue(java.lang.String attributeName) |
int |
getLeft() |
int |
getLevel() |
int |
getLiid() |
KeplerLSID |
getLsid() |
java.util.Vector<KeplerLSID> |
getLsids() |
java.lang.String |
getName() |
java.lang.Integer |
getParent() |
int |
getRight() |
int |
getType() |
void |
removeLsid(KeplerLSID lsid) |
void |
setLeft(int left) |
void |
setLevel(int level) |
void |
setLiid(int liid) |
void |
setLsid(KeplerLSID lsid) |
void |
setName(java.lang.String name) |
void |
setParent(java.lang.Integer parent) |
void |
setRight(int right) |
void |
setType(int type) |
java.lang.String |
toString() |
public static final java.lang.String LIBRARY_ATTRIBUTES_TABLE_NAME
public LibItem()
public void delete(java.sql.Statement stmt) throws java.sql.SQLException
stmt
- java.sql.SQLException
public int getLiid()
public void setLiid(int liid)
liid
- the _liid to setpublic java.lang.Integer getParent()
public void setParent(java.lang.Integer parent)
parent
- the _parent to setpublic int getLeft()
public void setLeft(int left)
left
- the _left to setpublic int getRight()
public void setRight(int right)
right
- the _right to setpublic int getLevel()
public void setLevel(int level)
level
- the _level to setpublic KeplerLSID getLsid()
public void setLsid(KeplerLSID lsid)
lsid
- the _lsid to setpublic int getType()
public void setType(int type)
type
- the _type to setpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the _name to setpublic void addAttribute(java.lang.String name, java.lang.String value)
name
- value
- public java.lang.String getAttributeValue(java.lang.String attributeName)
attributeName
- public java.util.Hashtable<java.lang.String,java.lang.String> getAttributes()
public java.util.Vector<KeplerLSID> getLsids()
public void addLsid(KeplerLSID lsid)
public void removeLsid(KeplerLSID lsid)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String debugString()