Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.4 rc2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.stanford.smi.protege.util
Class InstanceUtilities

    java.lang.Object
      edu.stanford.smi.protege.util.InstanceUtilities

    public class InstanceUtilities

extends Object

Utilities for handling project knowledge base instances. These provide standard ways of encoding/decoding rectangles and dimensions into an instance.

Author:
  Ray Fergerson

Constructor Summary
`InstanceUtilities()`

Method Summary
`static Dimension` | `getDimension(Instance instance)`
`static Rectangle` | `getRectangle(Instance instance)`
`static void` | `setDimension(Instance instance, Dimension d)`
`static void` | `setRectangle(Instance instance, Rectangle r)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### InstanceUtilities

    public InstanceUtilities()

Method Detail

### getDimension

    public static Dimension getDimension(Instance instance)

### getRectangle

    public static Rectangle getRectangle(Instance instance)

### setDimension

    public static void setDimension(Instance instance,
                                    Dimension d)

### setRectangle

    public static void setRectangle(Instance instance,
                                    Rectangle r)

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.4 rc2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2009 Stanford University.