java.lang.Object
org.eclipse.dawnsci.analysis.api.processing.model.ModelField

public class ModelField extends Object
Class to be used for editing the field of a Model Reads annotations used on the models field and provides discovery information about the field.
  • Constructor Details

  • Method Details

    • getModel

      public IOperationModel getModel()
    • setModel

      public void setModel(IOperationModel model)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getDisplayName

      public String getDisplayName()
    • getDescription

      public String getDescription()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getType

      public Class<? extends Object> getType()
    • getAnnotation

      public OperationModelField getAnnotation()
    • isFileProperty

      public boolean isFileProperty()
    • set

      public void set(Object value) throws Exception
      Set fields value
      Parameters:
      value -
      Throws:
      Exception
    • get

      public Object get()
      Get fields value
      Returns:
      value