gs.hitchin.hitchfs
Class PropStore

java.lang.Object
  extended by gs.hitchin.hitchfs.PropStore

public class PropStore
extends Object


Nested Class Summary
static interface PropStore.PropVisitor<P,S>
           
 
Constructor Summary
PropStore()
           
 
Method Summary
 Map<Class<? extends FileProp>,FileProp> getMap()
           
<T extends FileProp>
T
getProperty(Class<T> prop)
           
 boolean hasProperty(Class<?> type)
           
 Map<Class<? extends FileProp>,FileProp> setMap(Map<Class<? extends FileProp>,FileProp> props)
           
<P extends FileProp,S>
S
visitProperty(Class<P> type, PropStore.PropVisitor<P,S> visitor)
           
<T extends FileProp>
PropStore
withProperty(Class<T> type, T value)
           
 PropStore withProperty(FileProp property)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropStore

public PropStore()
Method Detail

getMap

public Map<Class<? extends FileProp>,FileProp> getMap()

getProperty

public <T extends FileProp> T getProperty(Class<T> prop)

hasProperty

public boolean hasProperty(Class<?> type)

setMap

public Map<Class<? extends FileProp>,FileProp> setMap(Map<Class<? extends FileProp>,FileProp> props)

visitProperty

public <P extends FileProp,S> S visitProperty(Class<P> type,
                                              PropStore.PropVisitor<P,S> visitor)

withProperty

public <T extends FileProp> PropStore withProperty(Class<T> type,
                                                   T value)

withProperty

public PropStore withProperty(FileProp property)


Copyright © 2012. All Rights Reserved.