org.dspace.content
Class DCSeriesNumber

java.lang.Object
  extended by org.dspace.content.DCSeriesNumber

public class DCSeriesNumber
extends Object

Series and report number, as stored in relation.ispartofseries

Version:
$Id: DCSeriesNumber.java 3761 2009-05-07 04:18:02Z stuartlewis $
Author:
Robert Tansley

Constructor Summary
DCSeriesNumber()
          Construct clean series number
DCSeriesNumber(String value)
          Construct from raw DC value
DCSeriesNumber(String s, String n)
          Construct from given values
 
Method Summary
 String getNumber()
          Get the number - guaranteed non-null
 String getSeries()
          Get the series name - guaranteed non-null
 String toString()
          Write as raw DC value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DCSeriesNumber

public DCSeriesNumber()
Construct clean series number


DCSeriesNumber

public DCSeriesNumber(String value)
Construct from raw DC value

Parameters:
value - value from database

DCSeriesNumber

public DCSeriesNumber(String s,
                      String n)
Construct from given values

Parameters:
s - the series
n - the number
Method Detail

toString

public String toString()
Write as raw DC value

Overrides:
toString in class Object
Returns:
the series and number as they should be stored in the DB

getSeries

public String getSeries()
Get the series name - guaranteed non-null


getNumber

public String getNumber()
Get the number - guaranteed non-null



Copyright © 2010 DuraSpace. All Rights Reserved.