|
||||||||||
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
public abstract class DTSObject
A DTSObject is a named object in a Namespace
,
uniquely identified within the namespace by an integer ID and a code.
Copyright: Copyright (c) 2003
Company: Apelon, Inc.
Constructor Summary | |
---|---|
|
DTSObject()
|
protected |
DTSObject(String name,
int id,
String code,
int namespaceId)
Contructs a DTSObject which has a name, code, ID, and namespace ID. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Tests if two DTSObject s are equal. |
String |
getCode()
Gets the code of the DTSObject . |
int |
getId()
Gets the ID of the DTSObject . |
String |
getName()
Gets the name of the DTSObject . |
int |
getNamespaceId()
Gets the namespace ID for this DTS object. |
int |
hashCode()
Returns a hashcode for this DTS object. |
void |
setCode(String code)
Sets the code of the DTSObject . |
void |
setId(int id)
Sets the ID of the DTSObject . |
void |
setName(String name)
Sets the name of the DTSObject . |
void |
setNamespaceId(int newNamespaceId)
Sets a new namespace ID for this DTSObject . |
String |
toString()
Gets the name of this object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DTSObject()
protected DTSObject(String name, int id, String code, int namespaceId)
name
- the name of the DTSObjectid
- the ID string of the DTSObjectcode
- the code of the DTSObjectnamespaceId
- the numerical ID of the DTSObject's namespaceMethod Detail |
---|
public String getName()
DTSObject
.
DTSObject
.public void setName(String name)
DTSObject
.
name
- the new name of the DTSObject
.public int getId()
DTSObject
.
DTSObject
.public void setId(int id)
DTSObject
.
id
- the new ID of the DTSObject
.public String getCode()
DTSObject
.
DTSObject
.public void setCode(String code)
DTSObject
.
code
- the new code of the DTSObject
.public void setNamespaceId(int newNamespaceId)
DTSObject
.
newNamespaceId
- new namespace IDpublic int getNamespaceId()
public boolean equals(Object o)
DTSObject
s are equal. Two DTSObjects are
equal if the following are true:
equals
in class Object
o
- object to compare with
true
if the two DTSObjects are equal;
false
otherwisepublic int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |