mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
		
			
				
	
	
		
			75 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			75 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /**
 | |
|  * XCATNode entity class.
 | |
|  */
 | |
| class XCATNode {
 | |
| 	var $name;
 | |
| 	var $hwType;
 | |
| 	var $os;
 | |
| 	var $mode;
 | |
| 	var $status;
 | |
| 	var $hwCtrlPt;
 | |
| 	var $comment;
 | |
| 
 | |
| 	function XCATNode() {
 | |
| 
 | |
| 	}
 | |
| 
 | |
| 	function getName() {
 | |
| 		return $this->name;
 | |
| 	}
 | |
| 
 | |
| 	function getHwType() {
 | |
| 		return $this->hwType;
 | |
| 	}
 | |
| 
 | |
| 	function getOs() {
 | |
| 		return $this->os;
 | |
| 	}
 | |
| 
 | |
| 	function getMode() {
 | |
| 		return $this->mode;
 | |
| 	}
 | |
| 
 | |
| 	function getStatus() {
 | |
| 		return $this->status;
 | |
| 	}
 | |
| 
 | |
| 	function getHwCtrlPt() {
 | |
| 		return $this->hwCtrlPt;
 | |
| 	}
 | |
| 
 | |
| 	function getComment() {
 | |
| 		return $this->comment;
 | |
| 	}
 | |
| 
 | |
| 	function setName($pName) {
 | |
| 		$this->name = $pName;
 | |
| 	}
 | |
| 
 | |
| 	function setHwType($pHwType) {
 | |
| 		$this->hwType = $pHwType;
 | |
| 	}
 | |
| 
 | |
| 	function setOs($pOs) {
 | |
| 		$this->os = $pOs;
 | |
| 	}
 | |
| 
 | |
| 	function setMode($pMode) {
 | |
| 		$this->mode = $pMode;
 | |
| 	}
 | |
| 
 | |
| 	function setStatus($pStatus) {
 | |
| 		$this->status = $pStatus;
 | |
| 	}
 | |
| 
 | |
| 	function setHwCtrlPt($pHwCtrlPt) {
 | |
| 		$this->hwCtrlPt = $pHwCtrlPt;
 | |
| 	}
 | |
| 
 | |
| 	function setComment($pComment) {
 | |
| 		$this->comment = $pComment;
 | |
| 	}
 | |
| }
 | |
| ?>
 |