Class RegistrationPoint


  • public class RegistrationPoint
    extends Object
    Encapsulates the point in the model that triggered the registration of a capability or requirement.
    Author:
    Brian Stansberry (c) 2014 Red Hat Inc.
    • Constructor Detail

      • RegistrationPoint

        public RegistrationPoint​(PathAddress address,
                                 String attribute)
    • Method Detail

      • getAddress

        public PathAddress getAddress()
        Gets the address of the resource that triggered the registration.
        Returns:
        the address. Will not be null
      • getAttribute

        public String getAttribute()
        Gets the name of the specific attribute at address that triggered the registration, if the was a single attribute responsible.
        Returns:
        the name of the attribute, or null if there wasn't a single attribute responsible
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object