java.lang.Object
com.foursoft.harness.vec.v113.VecColor
All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, HasDescription<VecLocalizedString>, HasReferenceSystem, Visitable, Serializable

Specifies a color value. A color is always defined by a key value. What color is meant by this key value is defined by a standard reference systems (e.g. RAL).

For example if a RAL color should be expressed in the terms of the VEC thereferenceSystemwould be "RAL", thekeywould be the RAL number defined by the standard (e.g. "1003" for signal yellow).

Attributes of the type Color normally have the multiplicity [0..*]. This means that such an attribute can have a value for different referenceSystems (e.g. RAL, RGB,...). It must not have multiple values for the same ReferenceSystem.

Java class for Color complex type.

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


 <complexType name="Color">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Key" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="ReferenceSystem" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="Description" type="{http://www.prostep.org/ecad-if/2011/vec}LocalizedString" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • key

      protected String key

      The key of the color in the corresponding color reference system.

    • referenceSystem

      protected String referenceSystem

      The identification of the color reference system, which is defining possible values and the semantic of color keys. (see KBLFRM-315)

    • descriptions

      protected List<VecLocalizedString> descriptions

      On optional human readable description of the color (e.g. the name).

    • xmlId

      protected String xmlId
  • Constructor Details

    • VecColor

      public VecColor()
  • Method Details

    • getKey

      public String getKey()
      Gets the value of the key property.

      The key of the color in the corresponding color reference system.

      Returns:
      possible object is String
    • setKey

      public void setKey(String value)
      Sets the value of the key property.
      Parameters:
      value - allowed object is String
      See Also:
    • getReferenceSystem

      public String getReferenceSystem()
      Gets the value of the referenceSystem property.

      The identification of the color reference system, which is defining possible values and the semantic of color keys. (see KBLFRM-315)

      Specified by:
      getReferenceSystem in interface HasReferenceSystem
      Returns:
      possible object is String
    • setReferenceSystem

      public void setReferenceSystem(String value)
      Sets the value of the referenceSystem property.
      Parameters:
      value - allowed object is String
      See Also:
    • getDescriptions

      public List<VecLocalizedString> getDescriptions()
      Gets the value of the descriptions property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the descriptions property.

      For example, to add a new item, do as follows:

          getDescriptions().add(newItem);
       

      Objects of the following type(s) are allowed in the list VecLocalizedString

      On optional human readable description of the color (e.g. the name).

      Specified by:
      getDescriptions in interface HasDescription<VecLocalizedString>
      Returns:
      The value of the descriptions property.
    • 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
    • accept

      public <R, E extends Throwable> R accept(Visitor<R,E> aVisitor) throws E
      Specified by:
      accept in interface Visitable
      Throws:
      E extends Throwable
    • toString

      public String toString()
      Overrides:
      toString in class Object