Location: PHPKode > scripts > BoUML File Parser > UML_Parser_Configuration.php
<?php

/**
 * Basic configuration file
 * @author jgonzalez
 *
 */
abstract class UML_Parser_Configuration {
	const ARTIFACT_NAME_FOR_PACKAGE 	= "package";
	const ARTIFACT_NAME_FOR_COMPONENT 	= "component";
	const ARTIFACT_NAME_FOR_USECASE 	= "usecase";
	
	private $project_path = ".";
	public function setProjectPath($project_path) {
		return $this->project_path = $project_path;
	}
	
	public function getProjectPath() {
		return $this->project_path;
	}
	
	public function getArtifactNameForPackage() {
		return UML_Parser_Configuration::ARTIFACT_NAME_FOR_PACKAGE;
	}
	
	public function getArtifactNameForComponent() {
		return UML_Parser_Configuration::ARTIFACT_NAME_FOR_COMPONENT;
	}
	
public function getArtifactNameForUseCase() {
		return UML_Parser_Configuration::ARTIFACT_NAME_FOR_USECASE;
	}
	
	public abstract function getArtifactObjectByType($artifact_type, $source);
}
Return current item: BoUML File Parser