eu.xtreemos.xosd.localallocmgr.frontend
Class ResourceProperties

java.lang.Object
  extended by eu.xtreemos.xosd.localallocmgr.frontend.ResourceProperties

public class ResourceProperties
extends java.lang.Object

each resource can have at most one attribute of its kind as a property. this allows for strict semantic and syntactic typing of attributes.

Author:
urosjovanovic

Field Summary
(package private)  java.util.Hashtable<java.lang.Class<?>,IResourceProperty> props
           
 
Constructor Summary
ResourceProperties()
           
 
Method Summary
 void add(IResourceProperty prop)
           
 IResourceProperty get(java.lang.Class<?> property)
           
 IAttribute<?> getValue(java.lang.Class<?> property)
           
 java.util.ArrayList<java.lang.Class<?>> propertyTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

props

java.util.Hashtable<java.lang.Class<?>,IResourceProperty> props
Constructor Detail

ResourceProperties

public ResourceProperties()
Method Detail

getValue

public IAttribute<?> getValue(java.lang.Class<?> property)

get

public IResourceProperty get(java.lang.Class<?> property)

add

public void add(IResourceProperty prop)

propertyTypes

public java.util.ArrayList<java.lang.Class<?>> propertyTypes()