Class Identifier


  • public class Identifier
    extends Object
    Represents an identifier which can either be an ID or Name
    Author:
    Jeremy Unruh
    • Method Detail

      • byId

        public static Identifier byId​(String id)
        Creates a new identifier which is an ID based value
        Parameters:
        id - the ID value
        Returns:
        identifier object
      • byName

        public static Identifier byName​(String name)
        Creates an identifier which is NAME based identification
        Parameters:
        name - the name value
        Returns:
        the identifier
      • getId

        public String getId()
      • isTypeID

        public boolean isTypeID()