net.sourceforge.jfacets.simpleprofiles
Class SimpleProfile

java.lang.Object
  extended by net.sourceforge.jfacets.simpleprofiles.SimpleProfile
All Implemented Interfaces:
IProfile

public class SimpleProfile
extends Object
implements IProfile

Implements a simple profile, with childs and parents.


Constructor Summary
SimpleProfile(String id)
           
 
Method Summary
 void addChild(SimpleProfile child)
           
 boolean equals(Object other)
           
 Collection<SimpleProfile> getChildren()
           
 String getId()
          Return the unique ID of this profile as a String
 Collection<SimpleProfile> getParents()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleProfile

public SimpleProfile(String id)
Method Detail

getId

public String getId()
Description copied from interface: IProfile
Return the unique ID of this profile as a String

Specified by:
getId in interface IProfile

getChildren

public Collection<SimpleProfile> getChildren()

addChild

public void addChild(SimpleProfile child)

getParents

public Collection<SimpleProfile> getParents()

equals

public boolean equals(Object other)
Overrides:
equals in class Object


Copyright © 2012. All Rights Reserved.