Class LoadableSchemaObject

    • Constructor Detail

      • LoadableSchemaObject

        protected LoadableSchemaObject​(SchemaObjectType objectType,
                                       String oid)
        Constructor to use when the OID is known in advance.
        Parameters:
        objectType - The SchemaObject type
        oid - The SchemaObject OID
      • LoadableSchemaObject

        protected LoadableSchemaObject​(SchemaObjectType objectType)
        Constructor to use when the OID is not known until after instantiation.
        Parameters:
        objectType - The SchemaObject type
    • Method Detail

      • getBytecode

        public String getBytecode()
        Returns:
        The associated bytecode of this SchemaObject instance
      • setBytecode

        public void setBytecode​(String bytecode)
        Stores some bytecode representing the compiled Java class for this SchemaObject instance.
        Parameters:
        bytecode - The bytecode to store
      • getFqcn

        public String getFqcn()
        Returns:
        The chemaObject instance Fully Qualified Class Name
      • setFqcn

        public void setFqcn​(String fqcn)
        Set the Fully Qualified Class Name for this SchemaObject instance class stored in the bytecode attribute
        Parameters:
        fqcn - The Fully Qualified Class Name
      • copy

        public LoadableSchemaObject copy()
        Copy the current SchemaObject on place
        Returns:
        The copied SchemaObject
      • isValid

        public boolean isValid()
        Test that the FQCN is equal to the instance's name. If the FQCN is empty, fill it with the instance's name
        Returns:
        true if the FQCN is correctly set