edu.stanford.smi.protege.model
Class FrameID
java.lang.Object
edu.stanford.smi.protege.model.FrameID
- All Implemented Interfaces:
- Serializable
- public class FrameID
- extends Object
- implements Serializable
A wrapper around a numeric value that uniquely identifies the frame. The frame name also uniquely identifies it but
the frame id is unchanging, unlike the name. This frame id is typically not used much by clients but it is used
internally. For file based projects the frame id is only unchanging while the project is loaded. The next time
it is loaded the frames will all get other ids. The frame ids are not stored in the files. For the database
backend the frame ids are unchanging because they are store in the database.
Frame ids below 10000 are reserved for system frames. The particular ids assigned to system frame are available
in Model
- Author:
- Ray Fergerson
- See Also:
- Serialized Form
NULL_FRAME_ID_VALUE
public static final int NULL_FRAME_ID_VALUE
- See Also:
- Constant Field Values
INITIAL_USER_FRAME_ID
public static final int INITIAL_USER_FRAME_ID
- See Also:
- Constant Field Values
SYSTEM_PROJECT_ID
public static final int SYSTEM_PROJECT_ID
- See Also:
- Constant Field Values
LOCAL_PROJECT_ID
public static final int LOCAL_PROJECT_ID
- See Also:
- Constant Field Values
createSystem
public static FrameID createSystem(int value)
createLocal
public static FrameID createLocal(int value)
create
public static FrameID create(int projectPart,
int localPart)
isSystem
public boolean isSystem()
getLocalPart
public int getLocalPart()
getProjectPart
public int getProjectPart()
equals
public boolean equals(Object o)
hashCode
public final int hashCode()
isUser
public boolean isUser()
toString
public String toString()
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2004 Stanford University.