Class Requirement

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class Requirement
    extends java.lang.Object
    implements java.lang.Cloneable
    Describes a component requirement.
    Author:
    Brett Porter
    • Constructor Summary

      Constructors 
      Constructor Description
      Requirement​(java.lang.String role)  
      Requirement​(java.lang.String role, java.lang.String roleHint)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Requirement clone()
      Creates a shallow copy of this requirement.
      java.lang.String getRole()  
      java.lang.String getRoleHint()  
      • Methods inherited from class java.lang.Object

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

      • Requirement

        public Requirement​(java.lang.String role)
      • Requirement

        public Requirement​(java.lang.String role,
                           java.lang.String roleHint)
    • Method Detail

      • getRole

        public java.lang.String getRole()
      • getRoleHint

        public java.lang.String getRoleHint()
      • clone

        public Requirement clone()
        Creates a shallow copy of this requirement.
        Overrides:
        clone in class java.lang.Object