|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ca.aura.artefacts.AbstractArtefact
Constructor Summary | |
AbstractArtefact(java.lang.String id)
set the id of the artefact |
Method Summary | |
void |
addAura(Aura aura)
add a segment to the content |
boolean |
equals(java.lang.Object obj)
check for equality |
java.util.Iterator |
getAura()
get the segments of an artefact... |
Description |
getDescription()
get a description of the artefact |
java.io.File |
getFile()
get the location of the artefact as a URL |
java.lang.String |
getId()
get the id of the artefact |
java.lang.String |
getName()
get the name of the artefact |
int |
numberOfAura()
how many aura elements does the artefact have? |
protected AbstractAura |
self()
get the artefact as a aura (to access the name and descr |
void |
setDescription(Description descr)
set the description |
void |
setLocation(Location location)
set the location of the artefact |
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 |
public AbstractArtefact(java.lang.String id)
Method Detail |
public java.lang.String getId()
Artefact
getId
in interface Artefact
ca.aura.artefact.Artefact#getId()
public java.lang.String getName()
Artefact
getName
in interface Artefact
Artefact.getName()
public Description getDescription()
Artefact
getDescription
in interface Artefact
Artefact.getDescription()
public java.io.File getFile()
Artefact
getFile
in interface Artefact
ca.aura.artefact.Artefact#getLocation()
public java.util.Iterator getAura()
Artefact
getAura
in interface Artefact
ca.aura.artefact.Artefact#getAura()
public int numberOfAura()
Artefact
numberOfAura
in interface Artefact
ca.aura.artefact.Artefact#numberOfAura()
public void setName(java.lang.String name)
public void setDescription(Description descr)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
protected AbstractAura self()
public void setLocation(Location location)
public void addAura(Aura aura)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |