|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.apelon.dts.client.namespace.Authority
public class Authority
Authority
defines the namespace authority that oversees the
content of that namespace.
Copyright: Copyright (c) 2003
Company: Apelon, Inc.
Constructor Summary | |
---|---|
Authority(String description,
int id)
Authority constructor. |
Method Summary | |
---|---|
Object |
clone()
Clone this Authority object. |
boolean |
equals(Object o)
Tests if two Authority objects are equal. |
String |
getDescription()
Gets the Authority description. |
int |
getId()
Gets the Authority ID. |
int |
hashCode()
Returns a hash code for this Authority. |
String |
toString()
Returns description of the content authority. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Authority(String description, int id)
description
- description of Authorityid
- integer Authority IDMethod Detail |
---|
public Object clone() throws CloneNotSupportedException
Authority
object.
clone
in class Object
CloneNotSupportedException
- if unable to create a clonepublic String getDescription()
public int getId()
public String toString()
toString
in class Object
public boolean equals(Object o)
Authority
objects are equal. They are equal if
the following are true:
equals
in class Object
o
- object to compare with
true
if the two authorities are equal;
false
otherwisepublic int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |