- 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 Summary
FieldsModifier and TypeFieldDescriptionprotected List<VecLocalizedString>On optional human readable description of the color (e.g.protected StringThe key of the color in the corresponding color reference system.protected StringThe identification of the color reference system, which is defining possible values and the semantic of color keys.protected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,E extends Throwable>
RGets the value of the descriptions property.getKey()Gets the value of the key property.Gets the value of the referenceSystem property.getXmlId()Gets the value of the xmlId property.voidSets the value of the key property.voidsetReferenceSystem(String value) Sets the value of the referenceSystem property.voidSets the value of the xmlId property.toString()
-
Field Details
-
key
The key of the color in the corresponding color reference system.
-
referenceSystem
The identification of the color reference system, which is defining possible values and the semantic of color keys. (see KBLFRM-315)
-
descriptions
On optional human readable description of the color (e.g. the name).
-
xmlId
-
-
Constructor Details
-
VecColor
public VecColor()
-
-
Method Details
-
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
Sets the value of the key property. -
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:
getReferenceSystemin interfaceHasReferenceSystem- Returns:
- possible object is
String
-
setReferenceSystem
Sets the value of the referenceSystem property.- Parameters:
value- allowed object isString- See Also:
-
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
setmethod 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
VecLocalizedStringOn optional human readable description of the color (e.g. the name).
- Specified by:
getDescriptionsin interfaceHasDescription<VecLocalizedString>- Returns:
- The value of the descriptions property.
-
getXmlId
Gets the value of the xmlId property.- Specified by:
getXmlIdin interfaceIdentifiable- Returns:
- possible object is
String
-
setXmlId
Sets the value of the xmlId property.- Specified by:
setXmlIdin interfaceModifiableIdentifiable- Parameters:
value- allowed object isString
-
accept
-
toString
-