Class ModelName


  • public class ModelName
    extends Object
    Models used in a rank profile has the rank profile name as name space while global model names have no namespace
    Author:
    bratseth
    • Constructor Detail

      • ModelName

        public ModelName​(String name)
      • ModelName

        public ModelName​(String namespace,
                         com.yahoo.path.Path modelPath,
                         boolean pathIsFile)
    • Method Detail

      • isGlobal

        public boolean isGlobal()
        Returns true if the local name of this is not in a namespace
      • namespace

        public String namespace()
        Returns the namespace, or null if this is global
      • localName

        public String localName()
      • fullName

        public String fullName()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object