Class KeyRef

    • Field Detail

      • fKey

        protected final UniqueOrKey fKey
        The key (or unique) being referred to.
    • Constructor Detail

      • KeyRef

        public KeyRef​(String namespace,
                      String identityConstraintName,
                      String elemName,
                      UniqueOrKey key)
        Constructs a keyref with the specified name.
    • Method Detail

      • getKey

        public UniqueOrKey getKey()
        Returns the key being referred to.
      • getRefKey

        public XSIDCDefinition getRefKey()
        {referenced key} Required if {identity-constraint category} is keyref, forbidden otherwise. An identity-constraint definition with {identity-constraint category} equal to key or unique.
        Specified by:
        getRefKey in interface XSIDCDefinition
        Overrides:
        getRefKey in class IdentityConstraint