ca.aura.artefacts
Class AbstractAura

java.lang.Object
  |
  +--ca.aura.artefacts.AbstractAura
All Implemented Interfaces:
Aura
Direct Known Subclasses:
Comment

public class AbstractAura
extends java.lang.Object
implements Aura

Author:
aforward

Constructor Summary
AbstractAura(java.lang.String name)
          default
 
Method Summary
 Artefact belongsTo()
          get the parent of this aura
 boolean equals(java.lang.Object obj)
          check for equality
 Description getDescription()
          get a description of the artefact
 java.lang.String getName()
          get the name of the artefact
 boolean isPartOfAnArtefact()
          does this aura belong to anyone?
 void setArtefact(Artefact parent)
          set the parent
 void setDescription(Description descr)
          set the description
 void setName(java.lang.String name)
          set the name
 java.lang.String toString()
          the object as a string
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractAura

public AbstractAura(java.lang.String name)
default

Method Detail

getName

public java.lang.String getName()
Description copied from interface: Aura
get the name of the artefact

Specified by:
getName in interface Aura
See Also:
Aura.getName()

getDescription

public Description getDescription()
Description copied from interface: Aura
get a description of the artefact

Specified by:
getDescription in interface Aura
See Also:
Aura.getDescription()

isPartOfAnArtefact

public boolean isPartOfAnArtefact()
Description copied from interface: Aura
does this aura belong to anyone?

Specified by:
isPartOfAnArtefact in interface Aura
See Also:
Aura.isPartOfAnArtefact()

belongsTo

public Artefact belongsTo()
Description copied from interface: Aura
get the parent of this aura

Specified by:
belongsTo in interface Aura
See Also:
Aura.belongsTo()

setName

public void setName(java.lang.String name)
set the name


setDescription

public void setDescription(Description descr)
set the description


setArtefact

public void setArtefact(Artefact parent)
set the parent


equals

public boolean equals(java.lang.Object obj)
check for equality

Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
the object as a string

Overrides:
toString in class java.lang.Object


Copyright © 2002 University of Ottawa. All Rights Reserved.