protected Object getCurrentProperty()

in src/com/vmware/vim25/mo/ManagedObject.java [177:193]


	protected Object getCurrentProperty(String propertyName)  
	{
		ObjectContent objContent = retrieveObjectProperties(new String[] { propertyName });
		      
		Object propertyValue = null;
		   	
		if (objContent != null) 
		{
			DynamicProperty[] dynaProps = objContent.getPropSet();
		   		
			if ((dynaProps != null) && (dynaProps[0]!= null)) 
			{
				propertyValue = PropertyCollectorUtil.convertProperty(dynaProps[0].getVal());
			}
		}
		return propertyValue;
	}