Class RequiredAttribute
java.lang.Object
com.hybris.backoffice.excel.translators.generic.RequiredAttribute
- All Implemented Interfaces:
Comparable<RequiredAttribute>
Represents hierarchical structure of required attributes. Children of each level are sorted by their branch length.
In other words, children are sorted by the number of descendants. For example: CatalogVersion(version[0 descendants],
catalog[1 descendant](id[0 descendants]))
-
Constructor Summary
ConstructorsConstructorDescriptionRequiredAttribute(TypeModel typeModel, String enclosingType, String qualifier, boolean unique, boolean mandatory, boolean partOf) -
Method Summary
-
Constructor Details
-
RequiredAttribute
-
-
Method Details
-
getTypeModel
-
isUnique
public boolean isUnique() -
isMandatory
public boolean isMandatory() -
addChild
-
getEnclosingType
-
getQualifier
-
getChildren
-
isPartOf
public boolean isPartOf() -
isRoot
public boolean isRoot() -
compareTo
- Specified by:
compareToin interfaceComparable<RequiredAttribute>
-
equals
-
hashCode
public int hashCode()
-