com.bowstreet.profiles
Interface ProfileDescription

All Known Implementing Classes:
Profile

public interface ProfileDescription

Interface that describes information about a Profile


Method Summary
 java.lang.String getName()
          Gets the name of this Profile.
 java.lang.String getParent()
          Gets the name of the parent Profile.
 java.lang.String getShortName()
          Gets the non-qualified name of this Profile.
 boolean isContainer()
          Gets if this Profile is specified to be a container, which means that it can have children Profile nodes.
 

Method Detail

getName

java.lang.String getName()
Gets the name of this Profile. If using qualified profile names the name returned will be the fully qualified name of the Profile (e.g. "acme.hr.gold"). If not using qualified profile names the name returned will be the non-qualified name (e.g. "gold").

Returns:
The name of this Profile.

getParent

java.lang.String getParent()
Gets the name of the parent Profile. If using qualified profile names the name returned will be the fully qualified name of the Profile (e.g. "acme.hr.gold"). If not using qualified profile names the name returned will be the non-qualified name (e.g. "gold").

Returns:
The parent name.

getShortName

java.lang.String getShortName()
Gets the non-qualified name of this Profile.

Returns:
The non-qualified Profile name (e.g. "gold").

isContainer

boolean isContainer()
Gets if this Profile is specified to be a container, which means that it can have children Profile nodes.

Returns:
true if this Profile is a container, else false.


Copyright © 2009 IBM. All Rights Reserved.