Class ServiceBackendPort

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class ServiceBackendPort
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    ServiceBackendPort is the service port being referenced.
    • Constructor Detail

      • ServiceBackendPort

        public ServiceBackendPort​(java.lang.String name,
                                  java.lang.Number number)
      • ServiceBackendPort

        public ServiceBackendPort()
    • Method Detail

      • getName

        public java.lang.String getName()
        name is the name of the port on the Service. This is a mutually exclusive setting with "Number".
      • getNumber

        public java.lang.Number getNumber()
        number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name".
      • setName

        public void setName​(java.lang.String name)
        name is the name of the port on the Service. This is a mutually exclusive setting with "Number".
      • setNumber

        public void setNumber​(java.lang.Number number)
        number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name".
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object