public abstract class AbstractPVField extends Object implements PVField
Modifier and Type | Field and Description |
---|---|
protected static Convert |
convert
Convenience for derived classes that perform conversions.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractPVField(Field field)
Constructor that must be called by derived classes.
|
Modifier and Type | Method and Description |
---|---|
protected void |
changeField(Field field) |
Field |
getField()
Get the Field that describes the field.
|
String |
getFieldName()
Get the fieldName for this field.
|
int |
getFieldOffset()
Get offset of the PVField field within top level structure.
|
int |
getNextFieldOffset()
Get the next offset.
|
int |
getNumberFields()
Get the total number of fields in this field.
|
PVStructure |
getParent()
Get the parent of this field.
|
PVAuxInfo |
getPVAuxInfo()
Get the PVAuxInfo interface for the PVField.
|
String |
getRequesterName()
Get the name of the requester.
|
boolean |
isImmutable()
Is the field immutable, i.e.
|
void |
message(String message,
MessageType messageType)
Report a message.
|
void |
postPut()
postPut.
|
void |
renameField(String newName)
Rename the field name.
|
protected void |
setData(Field field,
PVStructure parent,
String fieldName) |
void |
setImmutable()
Set the field to be immutable, i.
|
void |
setPostHandler(PostHandler postHandler)
Set the handler for postPut.
|
void |
setRequester(Requester requester)
Register the message requester.
|
String |
toString()
Implement standard toString().
|
void |
toString(StringBuilder buf)
Convert the PVField to a string.
|
void |
toString(StringBuilder buf,
int indentLevel)
Convert the PVField to a string.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
deserialize, serialize
protected static final Convert convert
protected AbstractPVField(Field field)
field
- The introspection interface.pvParent
- The pvParent PVStructure.IllegalArgumentException
- if field is null;protected void setData(Field field, PVStructure parent, String fieldName)
protected void changeField(Field field)
public String getFieldName()
PVField
getFieldName
in interface PVField
public String getRequesterName()
Requester
getRequesterName
in interface Requester
public void message(String message, MessageType messageType)
Requester
public void setRequester(Requester requester)
PVField
setRequester
in interface PVField
requester
- The requester.public void postPut()
PVField
public void setPostHandler(PostHandler postHandler)
PVField
setPostHandler
in interface PVField
postHandler
- The handler.public int getFieldOffset()
PVField
getFieldOffset
in interface PVField
public int getNextFieldOffset()
PVField
getNextFieldOffset
in interface PVField
public int getNumberFields()
PVField
getNumberFields
in interface PVField
public PVAuxInfo getPVAuxInfo()
PVField
getPVAuxInfo
in interface PVField
public boolean isImmutable()
PVField
isImmutable
in interface PVField
public void setImmutable()
PVField
setImmutable
in interface PVField
public Field getField()
PVField
public PVStructure getParent()
PVField
public void renameField(String newName)
PVField
renameField
in interface PVField
newName
- The new name.public void toString(StringBuilder buf)
PVField
public void toString(StringBuilder buf, int indentLevel)
PVField
Copyright © 2014. All Rights Reserved.