edu.stanford.smi.protegex.widget.instancetable
Class InstanceRowConfigurationChecks
java.lang.Object
edu.stanford.smi.protegex.widget.instancetable.InstanceRowConfigurationChecks
public class InstanceRowConfigurationChecks
- extends Object
Static methods to make sure that InstanceTable is valid. Returns a string. A
null return value means "okay"
- Author:
- William Grosso
Method Summary |
static boolean |
checkValidity(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot)
|
static JComponent |
getDetailedWarnings(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot)
|
static JComponent |
getShortWarning(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot)
|
protected static boolean |
singleAllowedClass(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot)
|
protected static boolean |
singleAllowedClass(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot,
JTextArea warningDisplayArea)
|
protected static boolean |
slotHasRightCardinality(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot)
|
protected static boolean |
slotHasRightCardinality(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot,
JTextArea warningDisplayArea)
|
protected static boolean |
slotTargetOfTypeInstance(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot)
|
protected static boolean |
slotTargetOfTypeInstance(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot,
JTextArea warningDisplayArea)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstanceRowConfigurationChecks
public InstanceRowConfigurationChecks()
checkValidity
public static boolean checkValidity(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot)
getDetailedWarnings
public static JComponent getDetailedWarnings(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot)
getShortWarning
public static JComponent getShortWarning(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot)
singleAllowedClass
protected static boolean singleAllowedClass(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot)
singleAllowedClass
protected static boolean singleAllowedClass(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot,
JTextArea warningDisplayArea)
slotHasRightCardinality
protected static boolean slotHasRightCardinality(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot)
slotHasRightCardinality
protected static boolean slotHasRightCardinality(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot,
JTextArea warningDisplayArea)
slotTargetOfTypeInstance
protected static boolean slotTargetOfTypeInstance(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot)
slotTargetOfTypeInstance
protected static boolean slotTargetOfTypeInstance(edu.stanford.smi.protege.model.Cls cls,
edu.stanford.smi.protege.model.Slot slot,
JTextArea warningDisplayArea)
Submit a bug report or feature request