com.bbn.swede.editor.contentassist
Interface ISuggestionCandidate

All Superinterfaces:
Comparable
All Known Implementing Classes:
DefaultSuggestionCandidate

public interface ISuggestionCandidate
extends Comparable

An element name and an element type generated by NamespaceSuggesters for use by ContentAssistProcessors.

Author:
aperezlo

Field Summary
static int ATTRIBUTE
          ATTRIBUTE represents that the type of suggestion is an attribute.
static int CLASS
          CLASS represents that the type of suggestion is an OWL class.
static int ELEMENT
          ELEMENT represents that the type of suggestion is a named individual.
static int NAMESPACE
          NAMESPACE represents that the type of suggestion is that of a namespace.
static int PROPERTY
          PROPERTY represents that the type of suggestion is an OWL property.
static int UNKNOWN
          UNKNOWN represents that the type of suggestion is unknown.
 
Method Summary
 String getName()
          Retrieves the suggestion candidate's name.
 int getType()
          Retrieves the suggestion candidate's type.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

UNKNOWN

public static final int UNKNOWN
UNKNOWN represents that the type of suggestion is unknown.

See Also:
Constant Field Values

NAMESPACE

public static final int NAMESPACE
NAMESPACE represents that the type of suggestion is that of a namespace.

See Also:
Constant Field Values

ELEMENT

public static final int ELEMENT
ELEMENT represents that the type of suggestion is a named individual.

See Also:
Constant Field Values

ATTRIBUTE

public static final int ATTRIBUTE
ATTRIBUTE represents that the type of suggestion is an attribute.

See Also:
Constant Field Values

CLASS

public static final int CLASS
CLASS represents that the type of suggestion is an OWL class.

See Also:
Constant Field Values

PROPERTY

public static final int PROPERTY
PROPERTY represents that the type of suggestion is an OWL property.

See Also:
Constant Field Values
Method Detail

getType

public int getType()
Retrieves the suggestion candidate's type.

Returns:
the name of this suggestion

getName

public String getName()
Retrieves the suggestion candidate's name.

Returns:
the type of this suggestion, as defined by the constants defined in this interface


Copyright © 2004-2005 BBN Technologies. All Rights Reserved.