org.jnetpcap.packet.structure
Class AnnotatedFieldRuntime

java.lang.Object
  extended by org.jnetpcap.packet.structure.AnnotatedFieldRuntime

public class AnnotatedFieldRuntime
extends java.lang.Object

The Class AnnotatedFieldRuntime.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Constructor Summary
AnnotatedFieldRuntime(AnnotatedField parent)
          Instantiates a new annotated field runtime.
 
Method Summary
 void finishProcessing(java.util.List<HeaderDefinitionError> errors)
          Finish processing.
 java.util.Map<Field.Property,AnnotatedFieldMethod> getFunctionMap()
          Gets the function map.
 void setFunction(AnnotatedFieldMethod method)
          Sets the function.
 void setFunction(java.util.Map<Field.Property,AnnotatedFieldMethod> methods)
          Sets the function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotatedFieldRuntime

public AnnotatedFieldRuntime(AnnotatedField parent)
Instantiates a new annotated field runtime.

Parameters:
parent - the parent
Method Detail

finishProcessing

public void finishProcessing(java.util.List<HeaderDefinitionError> errors)
Finish processing.

Parameters:
errors - the errors

getFunctionMap

public java.util.Map<Field.Property,AnnotatedFieldMethod> getFunctionMap()
Gets the function map.

Returns:
the function map

setFunction

public void setFunction(AnnotatedFieldMethod method)
Sets the function.

Parameters:
method - the new function

setFunction

public void setFunction(java.util.Map<Field.Property,AnnotatedFieldMethod> methods)
Sets the function.

Parameters:
methods - the methods