Class SimpleUniqueIdentifierResolver
- java.lang.Object
-
- de.hybris.bootstrap.codegenerator.platformwebservices.resource.SimpleUniqueIdentifierResolver
-
- All Implemented Interfaces:
UniqueIdentifierResolver
@Deprecated public class SimpleUniqueIdentifierResolver extends java.lang.Object implements UniqueIdentifierResolver
Deprecated.since 1818Strategy which founds usable 'unique' attributes for a passed type.
-
-
Constructor Summary
Constructors Constructor Description SimpleUniqueIdentifierResolver()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected java.util.Collection<java.lang.String>getAllUniqueAttributes(YComposedType type)Deprecated.Finds and returns all available attribute qualifiers which are flagged with 'unique=true'.java.lang.StringgetUniqueIdentifier(YComposedType type)Deprecated.protected booleanisAtrributeUniqueAndAllowed(YAttributeDescriptor attribute)Deprecated.
-
-
-
Method Detail
-
getUniqueIdentifier
public java.lang.String getUniqueIdentifier(YComposedType type)
Deprecated.- Specified by:
getUniqueIdentifierin interfaceUniqueIdentifierResolver
-
getAllUniqueAttributes
protected java.util.Collection<java.lang.String> getAllUniqueAttributes(YComposedType type)
Deprecated.Finds and returns all available attribute qualifiers which are flagged with 'unique=true'. Introspection starts with passed type and proceeds with each supertype. Order of elements in result is kept.- Parameters:
type-YComposedTypeto introspect- Returns:
- Collection of unique atribute qualifiers with natural ordering of its elements.
-
isAtrributeUniqueAndAllowed
protected boolean isAtrributeUniqueAndAllowed(YAttributeDescriptor attribute)
Deprecated.
-
-