com.silverpeas.mydb.data.key
Class UnicityKeys
java.lang.Object
com.silverpeas.mydb.data.key.UnicityKeys
public class UnicityKeys
- extends Object
Table unicity keys list.
- Author:
- Antoine HEDIN
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnicityKeys
public UnicityKeys(DbTable parentTable)
isEmpty
public boolean isEmpty()
getSize
public int getSize()
add
public void add(UnicityKey unicityKey)
remove
public void remove(int index)
get
public UnicityKey get(int index)
getConstraintName
public String getConstraintName()
update
public void update(UnicityKey unicityKey,
int index)
replace
public void replace(String oldColumnName,
String newColumnName)
remove
public void remove(String oldColumnName)
isUnicityKey
public boolean isUnicityKey(String name)
Copyright © 2016 Silverpeas. All Rights Reserved.