Class YNameSpaceElement

    • Constructor Detail

      • YNameSpaceElement

        protected YNameSpaceElement​(YNamespace container)
    • Method Detail

      • resetCaches

        public void resetCaches()
        Since most typesystem elements use lazy references e.g. by codes this method allows to reset all lazy loaded references and data so that they will be calculated anew upon next access.
      • validate

        public void validate()
        Validates the element. This should check whether or not lazy references can be resolved or any data is missing.
      • getNamespace

        public YNamespace getNamespace()
        Returns:
        the enclosing namespace
      • getTypeSystem

        public YTypeSystem getTypeSystem()
        Returns:
        the owning type system
      • getLoaderInfo

        public java.lang.String getLoaderInfo()
        Provides optional info which has to be set during type system loading.
      • setLoaderInfo

        public void setLoaderInfo​(java.lang.String loaderInfo)
        Sets optional info describing how the element has been loaded.
        Parameters:
        loaderInfo - the info
      • toString

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