Class RelationElementType
java.lang.Object
de.hybris.bootstrap.typesystem.jaxb.RelationElementType
Configures the generated attribute at one relation end.
Java class for relationElementType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="relationElementType">
<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="modifiers" type="{}modifiersType" minOccurs="0"/>
<element name="model" type="{}attributeModelType" minOccurs="0"/>
<element name="custom-properties" type="{}customPropertiesType" minOccurs="0"/>
</sequence>
<attribute name="type" use="required" type="{}codeType" />
<attribute name="qualifier" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="metatype" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="cardinality">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="one"/>
<enumeration value="many"/>
</restriction>
</simpleType>
</attribute>
<attribute name="navigable" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="collectiontype">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="set"/>
<enumeration value="list"/>
<enumeration value="collection"/>
</restriction>
</simpleType>
</attribute>
<attribute name="ordered" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected CustomPropertiesTypeprotected Stringprotected Stringprotected AttributeModelTypeprotected ModifiersTypeprotected Booleanprotected Booleanprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the cardinality property.Gets the value of the collectiontype property.Gets the value of the customProperties property.Gets the value of the description property.Gets the value of the metatype property.getModel()Gets the value of the model property.Gets the value of the modifiers property.Gets the value of the qualifier property.getType()Gets the value of the type property.Gets the value of the navigable property.Gets the value of the ordered property.voidsetCardinality(String value) Sets the value of the cardinality property.voidsetCollectiontype(String value) Sets the value of the collectiontype property.voidSets the value of the customProperties property.voidsetDescription(String value) Sets the value of the description property.voidsetMetatype(String value) Sets the value of the metatype property.voidsetModel(AttributeModelType value) Sets the value of the model property.voidsetModifiers(ModifiersType value) Sets the value of the modifiers property.voidsetNavigable(Boolean value) Sets the value of the navigable property.voidsetOrdered(Boolean value) Sets the value of the ordered property.voidsetQualifier(String value) Sets the value of the qualifier property.voidSets the value of the type property.
-
Field Details
-
description
-
modifiers
-
model
-
customProperties
-
type
-
qualifier
-
metatype
-
cardinality
-
collectiontype
-
ordered
-
-
Constructor Details
-
RelationElementType
public RelationElementType()
-
-
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
-
getModifiers
Gets the value of the modifiers property.- Returns:
- possible object is
ModifiersType
-
setModifiers
Sets the value of the modifiers property.- Parameters:
value- allowed object isModifiersType
-
getModel
Gets the value of the model property.- Returns:
- possible object is
AttributeModelType
-
setModel
Sets the value of the model property.- Parameters:
value- allowed object isAttributeModelType
-
getCustomProperties
Gets the value of the customProperties property.- Returns:
- possible object is
CustomPropertiesType
-
setCustomProperties
Sets the value of the customProperties property.- Parameters:
value- allowed object isCustomPropertiesType
-
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
-
getQualifier
Gets the value of the qualifier property.- Returns:
- possible object is
String
-
setQualifier
Sets the value of the qualifier property.- Parameters:
value- allowed object isString
-
getMetatype
Gets the value of the metatype property.- Returns:
- possible object is
String
-
setMetatype
Sets the value of the metatype property.- Parameters:
value- allowed object isString
-
getCardinality
Gets the value of the cardinality property.- Returns:
- possible object is
String
-
setCardinality
Sets the value of the cardinality property.- Parameters:
value- allowed object isString
-
getCollectiontype
Gets the value of the collectiontype property.- Returns:
- possible object is
String
-
setCollectiontype
Sets the value of the collectiontype property.- Parameters:
value- allowed object isString
-
isOrdered
Gets the value of the ordered property.- Returns:
- possible object is
Boolean
-
setOrdered
Sets the value of the ordered property.- Parameters:
value- allowed object isBoolean
-