Class VecCustomProperty

java.lang.Object
com.foursoft.harness.vec.v113.VecCustomProperty
All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, HasPropertyType, Visitable, Serializable
Direct Known Subclasses:
VecBooleanValueProperty, VecDateValueProperty, VecDoubleValueProperty, VecIntegerValueProperty, VecLocalizedStringProperty, VecNumericalValueProperty, VecSimpleValueProperty, VecValueRangeProperty

public abstract class VecCustomProperty extends Object implements Serializable, Identifiable, ModifiableIdentifiable, HasPropertyType, Visitable

Abstract base class for custom properties. Basically a custom property is key / value pair. The key (propertyType) defines the meaning of the value. A custom property can either be a simple value (string), a numerical value or a value range.

Java class for CustomProperty complex type.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="CustomProperty">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="PropertyType" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • propertyType

      protected String propertyType
    • xmlId

      protected String xmlId
  • Constructor Details

    • VecCustomProperty

      public VecCustomProperty()
  • Method Details

    • getPropertyType

      public String getPropertyType()
      Gets the value of the propertyType property.
      Specified by:
      getPropertyType in interface HasPropertyType
      Returns:
      possible object is String
    • setPropertyType

      public void setPropertyType(String value)
      Sets the value of the propertyType property.
      Parameters:
      value - allowed object is String
    • getXmlId

      public String getXmlId()
      Gets the value of the xmlId property.
      Specified by:
      getXmlId in interface Identifiable
      Returns:
      possible object is String
    • setXmlId

      public void setXmlId(String value)
      Sets the value of the xmlId property.
      Specified by:
      setXmlId in interface ModifiableIdentifiable
      Parameters:
      value - allowed object is String
    • getParentExtendableElement

      public VecExtendableElement getParentExtendableElement()
      Gets a reference to the parent of this object in the XML DOM Tree. If this class can have different parents in DOM, this property is initialized with the parent, if the parent is a VecExtendableElement otherwise it will be null.
      Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by the ExtendedUnmarshaller.
      This property is consistent to the state of object model at the time of unmarshalling. It does not reflect any changes done in the object model after the unmarshalling.
      This property has no effect when the object is marshalled to xml.
    • toString

      public String toString()
      Overrides:
      toString in class Object