edu.iris.dmc.pdcc.util
Class PdccDefaultGenerator
java.lang.Object
edu.iris.dmc.pdcc.util.PdccDefaultGenerator
- public class PdccDefaultGenerator
- extends java.lang.Object
A factory class for returning generic representations for PdccObject types, filling the fields with
'stuffing', nonsense values that are nonetheless syntactically correct. Used for creating New, Blank PdccObjects
to be filled in by the user.
- Version:
- 2005
- Author:
- Robert Casey, IRIS DMC
|
Method Summary |
static java.lang.String |
getDefaults(int objectType)
return a delimited string consisting of appropriate field values for ther indicated object type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
blank
public static final java.lang.String blank
- See Also:
- Constant Field Values
delimiter
public static final java.lang.String delimiter
- See Also:
- Constant Field Values
beginTime
public static final java.lang.String beginTime
- See Also:
- Constant Field Values
endTime
public static final java.lang.String endTime
- See Also:
- Constant Field Values
PdccDefaultGenerator
public PdccDefaultGenerator()
getDefaults
public static java.lang.String getDefaults(int objectType)
throws SeedException
- return a delimited string consisting of appropriate field values for ther indicated object type.
- Parameters:
objectType - the object type to create a boilerplate for
- Returns:
- a String representation of the new object
- Throws:
SeedException
brought to you by Incorporated Research Institutions for Seismology
June 29 2006