Class SimpleUniqueIdentifierResolver

  • All Implemented Interfaces:
    UniqueIdentifierResolver

    @Deprecated
    public class SimpleUniqueIdentifierResolver
    extends java.lang.Object
    implements UniqueIdentifierResolver
    Deprecated.
    since 1818
    Strategy which founds usable 'unique' attributes for a passed type.
    • Constructor Detail

      • SimpleUniqueIdentifierResolver

        public SimpleUniqueIdentifierResolver()
        Deprecated.
    • Method Detail

      • 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 - YComposedType to introspect
        Returns:
        Collection of unique atribute qualifiers with natural ordering of its elements.
      • isAtrributeUniqueAndAllowed

        protected boolean isAtrributeUniqueAndAllowed​(YAttributeDescriptor attribute)
        Deprecated.