org.intermine.dataloader
Class Source

java.lang.Object
  extended by org.intermine.dataloader.Source

public class Source
extends java.lang.Object

Represents a data source, by name and skeleton status.


Constructor Summary
Source(java.lang.String name)
          Create a new source object with no type information that isn't a skeleton
Source(java.lang.String name, boolean skeleton)
          Create a new source object with no type information.
Source(java.lang.String name, java.lang.String type)
          Create a new source object that isn't a skeleton.
Source(java.lang.String name, java.lang.String type, boolean skeleton)
          Create a new source object.
 
Method Summary
 java.lang.String getName()
          Getter for name.
 boolean getSkeleton()
          Getter for skeleton.
 java.lang.String getType()
           
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Source

public Source(java.lang.String name,
              java.lang.String type,
              boolean skeleton)
Create a new source object.

Parameters:
name - the source name
type - the source type
skeleton - true if this soruce is a skeleton

Source

public Source(java.lang.String name,
              java.lang.String type)
Create a new source object that isn't a skeleton.

Parameters:
name - the source name
type - the source type

Source

public Source(java.lang.String name,
              boolean skeleton)
Create a new source object with no type information.

Parameters:
name - the source name
skeleton - true if this soruce is a skeleton

Source

public Source(java.lang.String name)
Create a new source object with no type information that isn't a skeleton

Parameters:
name - the source name
Method Detail

getName

public java.lang.String getName()
Getter for name.

Returns:
a String

getSkeleton

public boolean getSkeleton()
Getter for skeleton.

Returns:
a boolean

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

getType

public java.lang.String getType()
Returns:
the type