com.bea.ales.management
Class Subject

java.lang.Object
  |
  +--com.bea.ales.management.Subject
Direct Known Subclasses:
Group, User

public abstract class Subject
extends java.lang.Object

This is the base class of User and Group.


Method Summary
 Directory getDirectory()
          Get directory of the suject.
 java.lang.String getDirectoryShortName()
          Get short name diretcory of the subject.
 java.lang.String getName()
          Get name of the subject.
 int getType()
          Get type of the subject.
 java.lang.String toString()
          Return string value of the subject.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getDirectoryShortName

public java.lang.String getDirectoryShortName()
Get short name diretcory of the subject. Short name of the directory mean the name without the prefix, such as "asi".

Returns:
the name of the directory.

getDirectory

public Directory getDirectory()
Get directory of the suject.

Returns:
the directory of the subject.

getType

public int getType()
Get type of the subject.

Returns:
the type of the subject.

getName

public java.lang.String getName()
Get name of the subject.

Returns:
the name of the subject.

toString

public java.lang.String toString()
Return string value of the subject.

Returns:
string value of the subject.
Overrides:
toString in class java.lang.Object


Copyright © 2004-2008, Oracle and/or its affiliates. All rights reserved.