Class EnumtypeType
java.lang.Object
de.hybris.bootstrap.typesystem.jaxb.EnumtypeType
An EnumerationType defines fixed value types. (The typesystem provides item enumeration only)
Java class for enumtypeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="enumtypeType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="model" type="{}enumModelType" minOccurs="0"/>
<element name="value" type="{}enumValueType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="code" use="required" type="{}codeType" />
<attribute name="autocreate" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="generate" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
<attribute name="jaloclass" type="{}classType" />
<attribute name="dynamic" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Stringprotected Stringprotected Booleanprotected Booleanprotected Stringprotected EnumModelTypeprotected List<EnumValueType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Gets the value of the code property.Gets the value of the description property.Gets the value of the jaloclass property.getModel()Gets the value of the model property.getValue()Gets the value of the value property.booleanGets the value of the autocreate property.Gets the value of the dynamic property.booleanGets the value of the generate property.voidsetAutocreate(Boolean value) Sets the value of the autocreate property.voidSets the value of the code property.voidsetDescription(String value) Sets the value of the description property.voidsetDynamic(Boolean value) Sets the value of the dynamic property.voidsetGenerate(Boolean value) Sets the value of the generate property.voidsetJaloclass(String value) Sets the value of the jaloclass property.voidsetModel(EnumModelType value) Sets the value of the model property.
-
Field Details
-
description
-
model
-
value
-
code
-
autocreate
-
generate
-
jaloclass
-
dynamic
-
-
Constructor Details
-
EnumtypeType
public EnumtypeType()
-
-
Method Details
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getModel
Gets the value of the model property.- Returns:
- possible object is
EnumModelType
-
setModel
Sets the value of the model property.- Parameters:
value- allowed object isEnumModelType
-
getValue
Gets the value of the value 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 JAXB object. This is why there is not a
setmethod for the value property.For example, to add a new item, do as follows:
getValue().add(newItem);
Objects of the following type(s) are allowed in the list
EnumValueType -
getCode
Gets the value of the code property.- Returns:
- possible object is
String
-
setCode
Sets the value of the code property.- Parameters:
value- allowed object isString
-
isAutocreate
public boolean isAutocreate()Gets the value of the autocreate property.- Returns:
- possible object is
Boolean
-
setAutocreate
Sets the value of the autocreate property.- Parameters:
value- allowed object isBoolean
-
isGenerate
public boolean isGenerate()Gets the value of the generate property.- Returns:
- possible object is
Boolean
-
setGenerate
Sets the value of the generate property.- Parameters:
value- allowed object isBoolean
-
getJaloclass
Gets the value of the jaloclass property.- Returns:
- possible object is
String
-
setJaloclass
Sets the value of the jaloclass property.- Parameters:
value- allowed object isString
-
isDynamic
Gets the value of the dynamic property.- Returns:
- possible object is
Boolean
-
setDynamic
Sets the value of the dynamic property.- Parameters:
value- allowed object isBoolean
-