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 Object implements UniqueIdentifierResolver
Deprecated, for removal: This API element is subject to removal in a future version.
since 1818
Strategy which founds usable 'unique' attributes for a passed type.
  • Constructor Details

    • SimpleUniqueIdentifierResolver

      public SimpleUniqueIdentifierResolver()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getUniqueIdentifier

      public String getUniqueIdentifier(YComposedType type)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getUniqueIdentifier in interface UniqueIdentifierResolver
    • getAllUniqueAttributes

      protected Collection<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 - YComposedType to 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.