eu.scape_project.watch.domain
Class Source

java.lang.Object
  extended by thewebsemantic.binding.RdfBean<Source>
      extended by eu.scape_project.watch.domain.Source

public class Source
extends thewebsemantic.binding.RdfBean<Source>

A Source represents certain aspects of the world for which there exists a known way of investigating certain properties that represent these aspects. Sources can be internal or external, i.e. they can be part of the organization responsible for preservation or part of the outside world.

Author:
Luis Faria

Constructor Summary
Source()
          Create a new empty source.
Source(String name, String desc)
          Create a new source.
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
           
 String getName()
           
 int hashCode()
           
 void setDescription(String description)
           
 void setName(String name)
           
 
Methods inherited from class thewebsemantic.binding.RdfBean
asIndividual, delete, fill, fill, load, query, refresh, save
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Source

public Source()
Create a new empty source.


Source

public Source(String name,
              String desc)
Create a new source.

Parameters:
name - A unique name
desc - A description
Method Detail

getName

public String getName()

setName

public void setName(String name)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2012. All Rights Reserved.