Class CollectiontypeType
java.lang.Object
de.hybris.bootstrap.typesystem.jaxb.CollectiontypeType
A CollectionType defines a collection of typed elements. Attention: If using a collection type for persistent
attributes (not jalo) you can not search on that attribute and you are limited in size of collection. Consider to use
a relation instead.
Java class for collectiontypeType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="collectiontypeType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="code" use="required" type="{}codeType" />
<attribute name="elementtype" 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="type" default="collection">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="set"/>
<enumeration value="list"/>
<enumeration value="collection"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Gets the value of the code property.Gets the value of the elementtype property.getType()Gets the value of the type property.booleanGets the value of the autocreate 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.voidsetElementtype(String value) Sets the value of the elementtype property.voidsetGenerate(Boolean value) Sets the value of the generate property.voidSets the value of the type property.
-
Field Details
-
code
-
elementtype
-
autocreate
-
generate
-
type
-
-
Constructor Details
-
CollectiontypeType
public CollectiontypeType()
-
-
Method Details
-
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
-
getElementtype
Gets the value of the elementtype property.- Returns:
- possible object is
String
-
setElementtype
Sets the value of the elementtype 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
-
getType
Gets the value of the type property.- Returns:
- possible object is
String
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isString
-