|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.derby.iapi.sql.depend.DependableList
A serializable list of Dependables.
Field Summary | |
(package private) java.util.Vector |
dependableFinders
|
private boolean |
ignoreAdds
This class implements Formatable. |
(package private) java.util.Vector |
uuids
|
Constructor Summary | |
DependableList()
Public niladic constructor. |
Method Summary | |
void |
addDependable(Dependable dependable)
Add another Dependable to the list. |
Dependable |
dependableAt(int index)
Get the Dependable at this index. |
int |
getTypeFormatId()
Get the formatID which corresponds to this class. |
void |
ignoreAdds(boolean newState)
Toggle whether new elements can be added to this list. |
boolean |
ignoringAdds()
Report whether we're ignoring adds |
void |
readExternal(java.io.ObjectInput in)
|
int |
size()
Gets the number of Dependables in this list. |
void |
writeExternal(java.io.ObjectOutput out)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private transient boolean ignoreAdds
java.util.Vector uuids
java.util.Vector dependableFinders
Constructor Detail |
public DependableList()
Method Detail |
public void ignoreAdds(boolean newState)
newState
- true if adds are to be ignored
false if adds are to be honoredpublic boolean ignoringAdds()
public void addDependable(Dependable dependable)
dependable
- the next dependable to put on the listpublic int size()
public Dependable dependableAt(int index) throws StandardException
index
- 0-based index into this list
StandardException
- thrown if something goes wrongpublic int getTypeFormatId()
getTypeFormatId
in interface TypedFormat
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
- thrown on error
java.lang.ClassNotFoundException
- thrown on errorExternalizable.readExternal(java.io.ObjectInput)
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
- thrown on error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |