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

## com.nwoods.jgo
Interface JGoIdentifiablePart

All Known Implementing Classes:
  JGoLink, JGoNode, JGoPort

public interface JGoIdentifiablePart

Any JGoObject that implements this interface will automatically get a unique integer PartID identifier when the object is added to a JGoDocument whose MaintainsPartID property is true.

JGoNode, JGoPort, and JGoLink all implement this interface, thereby making it easier to persist graphs consisting of nodes and links.

Method Summary
`int` | `getPartID()` Return the integer PartID for this JGoObject that is in a JGoDocument.
`void` | `setPartID(int id)` Change the PartID for a JGoObject; this is normally only called by JGoDocument code when this object is added to a document layer.

Method Detail

### getPartID

    public int getPartID()

  Return the integer PartID for this JGoObject that is in a JGoDocument.

### setPartID

    public void setPartID(int id)

  Change the PartID for a JGoObject; this is normally only called by JGoDocument code when this object is added to a document layer.

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