Class ModelMethodType
java.lang.Object
de.hybris.bootstrap.typesystem.jaxb.ModelMethodType
Allows to configure alternative methods at generated model.
Java class for modelMethodType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="modelMethodType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="deprecated" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the value of the name property.booleanGets the value of the default property.booleanGets the value of the deprecated property.voidsetDefault(Boolean value) Sets the value of the default property.voidsetDeprecated(Boolean value) Sets the value of the deprecated property.voidSets the value of the name property.
-
Field Details
-
name
-
deprecated
-
_default
-
-
Constructor Details
-
ModelMethodType
public ModelMethodType()
-
-
Method Details
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
isDeprecated
public boolean isDeprecated()Gets the value of the deprecated property.- Returns:
- possible object is
Boolean
-
setDeprecated
Sets the value of the deprecated property.- Parameters:
value- allowed object isBoolean
-
isDefault
public boolean isDefault()Gets the value of the default property.- Returns:
- possible object is
Boolean
-
setDefault
Sets the value of the default property.- Parameters:
value- allowed object isBoolean
-