Package org.epics.pvdata.factory
Class BaseField
- java.lang.Object
-
- org.epics.pvdata.factory.BaseField
-
- All Implemented Interfaces:
Field,Serializable
- Direct Known Subclasses:
BaseScalar,BaseScalarArray,BaseScalarBoundedArray,BaseScalarFixedArray,BaseStructure,BaseStructureArray,BaseUnion,BaseUnionArray
public abstract class BaseField extends Object implements Field
Base class for creating a Field. It can also be a complete implementation.- Author:
- mrk
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description TypegetType()Get the field type.StringtoString()Implement standard toString().voidtoString(StringBuilder buf)Convert to a stringabstract voidtoString(StringBuilder buf, int indentLevel)Convert to a string-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.epics.pvdata.pv.Serializable
deserialize, serialize
-
-
-
-
Constructor Detail
-
BaseField
public BaseField(Type type)
Constructor for BaseField.- Parameters:
type- The field type.- Throws:
IllegalArgumentException- if type is null;
-
-
Method Detail
-
toString
public abstract void toString(StringBuilder buf, int indentLevel)
Description copied from interface:FieldConvert to a string
-
toString
public void toString(StringBuilder buf)
Description copied from interface:FieldConvert to a string
-
-