public static function createConst($constant)
    {
        $returnValue = null;

        
        $termConstClass = new core_kernel_classes_Class(RulesRdf::CLASS_TERM_CONST,__METHOD__);
		$termValueProperty = new core_kernel_classes_Property(RulesRdf::PROPERTY_TERM_VALUE,__METHOD__);
		$logicalOperatorProperty = new core_kernel_classes_Property(RulesRdf::PROPERTY_HASLOGICALOPERATOR,__METHOD__);
		$terminalExpressionProperty = new core_kernel_classes_Property(RulesRdf::PROPERTY_TERMINAL_EXPRESSION,__METHOD__);
        
		$label = 'Def Term Constant Label : ' . $constant;
		$comment = 'Def Term Constant Comment : '. $constant;
        $constantResource =  core_kernel_classes_ResourceFactory::create($termConstClass,$label , $comment);
        $returnValue = new core_kernel_rules_Term($constantResource->getUri());
        $returnValue->setPropertyValue($terminalExpressionProperty,$returnValue->getUri());
		$returnValue->setPropertyValue($logicalOperatorProperty,RulesRdf::INSTANCE_EXISTS_OPERATOR_URI);
		$returnValue->setPropertyValue($termValueProperty,$constant);
		$returnValue->debug = __METHOD__;
        

        return $returnValue;
    }
public static function createConst($constant)
    {
        $returnValue = null;

        
        $termConstClass = new core_kernel_classes_Class(RulesRdf::CLASS_TERM_CONST,__METHOD__);
		$termValueProperty = new core_kernel_classes_Property(RulesRdf::PROPERTY_TERM_VALUE,__METHOD__);
		$logicalOperatorProperty = new core_kernel_classes_Property(RulesRdf::PROPERTY_HASLOGICALOPERATOR,__METHOD__);
		$terminalExpressionProperty = new core_kernel_classes_Property(RulesRdf::PROPERTY_TERMINAL_EXPRESSION,__METHOD__);
        
		$label = 'Def Term Constant Label : ' . $constant;
		$comment = 'Def Term Constant Comment : '. $constant;
        $constantResource =  core_kernel_classes_ResourceFactory::create($termConstClass,$label , $comment);
        $returnValue = new core_kernel_rules_Term($constantResource->getUri());
        $returnValue->setPropertyValue($terminalExpressionProperty,$returnValue->getUri());
		$returnValue->setPropertyValue($logicalOperatorProperty,RulesRdf::INSTANCE_EXISTS_OPERATOR_URI);
		$returnValue->setPropertyValue($termValueProperty,$constant);
		$returnValue->debug = __METHOD__;
        

        return $returnValue;
    }
public static function createConst ( $ constant ) { $ returnValue = null ; $ termConstClass = new core_kernel_classes_Class ( RulesRdf :: CLASS_TERM_CONST , __METHOD__ ) ; $ termValueProperty = new core_kernel_classes_Property ( RulesRdf :: PROPERTY_TERM_VALUE , __METHOD__ ) ; $ logicalOperatorProperty = new core_kernel_classes_Property ( RulesRdf :: PROPERTY_HASLOGICALOPERATOR , __METHOD__ ) ; $ terminalExpressionProperty = new core_kernel_classes_Property ( RulesRdf :: PROPERTY_TERMINAL_EXPRESSION , __METHOD__ ) ; $ label = 'Def Term Constant Label : ' . $ constant ; $ comment = 'Def Term Constant Comment : ' . $ constant ; $ constantResource = core_kernel_classes_ResourceFactory :: create ( $ termConstClass , $ label , $ comment ) ; $ returnValue = new core_kernel_rules_Term ( $ constantResource -> getUri ( ) ) ; $ returnValue -> setPropertyValue ( $ terminalExpressionProperty , $ returnValue -> getUri ( ) ) ; $ returnValue -> setPropertyValue ( $ logicalOperatorProperty , RulesRdf :: INSTANCE_EXISTS_OPERATOR_URI ) ; $ returnValue -> setPropertyValue ( $ termValueProperty , $ constant ) ; $ returnValue -> debug = __METHOD__ ; return $ returnValue ; }
Short description of method createConst

@access public
@author firstname and lastname of author, <author@example.org>
@param  string $constant
@return core_kernel_rules_Term
Short description of method createConst