Class SimpleUniqueIdentifierResolver
- java.lang.Object
-
- de.hybris.bootstrap.codegenerator.platformwebservices.resource.SimpleUniqueIdentifierResolver
-
- All Implemented Interfaces:
UniqueIdentifierResolver
@Deprecated(since="1818", forRemoval=true) public class SimpleUniqueIdentifierResolver extends java.lang.Object implements UniqueIdentifierResolverDeprecated, for removal: This API element is subject to removal in a future version.since 1818Strategy which founds usable 'unique' attributes for a passed type.
-
-
Constructor Summary
Constructors Constructor Description SimpleUniqueIdentifierResolver()Deprecated, for removal: This API element is subject to removal in a future version.
-
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, for removal: This API element is subject to removal in a future version.Finds and returns all available attribute qualifiers which are flagged with 'unique=true'.java.lang.StringgetUniqueIdentifier(YComposedType type)Deprecated, for removal: This API element is subject to removal in a future version.protected booleanisAtrributeUniqueAndAllowed(YAttributeDescriptor attribute)Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
getUniqueIdentifier
public java.lang.String getUniqueIdentifier(YComposedType type)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getUniqueIdentifierin interfaceUniqueIdentifierResolver
-
getAllUniqueAttributes
protected java.util.Collection<java.lang.String> getAllUniqueAttributes(YComposedType type)
Deprecated, for removal: This API element is subject to removal in a future version.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, for removal: This API element is subject to removal in a future version.
-
-