Class SimpleUniqueIdentifierResolver

  • All Implemented Interfaces:
    UniqueIdentifierResolver

    @Deprecated(since="1818",
                forRemoval=true)
    public class SimpleUniqueIdentifierResolver
    extends java.lang.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 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.String getUniqueIdentifier​(YComposedType type)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected boolean isAtrributeUniqueAndAllowed​(YAttributeDescriptor attribute)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleUniqueIdentifierResolver

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

      • 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 - 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.