|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.apelon.dts.client.common.DTSObject com.apelon.dts.client.attribute.Kind
public class Kind
Kind
is a named object that represents a kind. Concepts in
Ontylog are divided up into mutually exclusive collections according to Kinds.
This makes for faster classification. Roles are mappings between kinds.
Thus the kind dependencies are determined by the roles. They also provide
the basis for right identities.
Copyright: Copyright (c) 2004
Company: Apelon, Inc.
Field Summary | |
---|---|
static Kind |
NO_KIND
This constant can be used when no Kind has yet been assigned
to an Ontylog concept. |
Constructor Summary | |
---|---|
Kind()
No argument constructor for internal Apelon use only. |
|
Kind(String name,
int id,
String code,
int namespaceId,
boolean reference)
Constructs a Kind in a Namespace with the
specified name, ID, code, namespace ID and reference flag. |
Method Summary | |
---|---|
boolean |
isReference()
Indicates if the Kind is for reference only and not included
for Ontylog classification. |
void |
setReference(boolean reference)
Sets whether this Kind is for reference only, so concepts of
this Kind won't be included in classification. |
Methods inherited from class com.apelon.dts.client.common.DTSObject |
---|
equals, getCode, getId, getName, getNamespaceId, hashCode, setCode, setId, setName, setNamespaceId, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static Kind NO_KIND
Kind
has yet been assigned
to an Ontylog concept. The Namespace
is unassigned in this
case.
Constructor Detail |
---|
public Kind()
public Kind(String name, int id, String code, int namespaceId, boolean reference)
Kind
in a Namespace
with the
specified name, ID, code, namespace ID and reference flag.
name
- Kind
nameid
- Kind
IDcode
- Kind
codenamespaceId
- Kind
namespace's IDreference
- Kind
referenceMethod Detail |
---|
public boolean isReference()
Kind
is for reference only and not included
for Ontylog classification.
true
if this Kind
is for reference
only; false
otherwise.public void setReference(boolean reference)
Kind
is for reference only, so concepts of
this Kind
won't be included in classification.
reference
- boolean indicator of whether this
Kind
is for reference only.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |