com.atlassian.user.impl.delegation.properties
Class NullPropertySet

java.lang.Object
  extended by com.atlassian.user.impl.delegation.properties.NullPropertySet
All Implemented Interfaces:
com.opensymphony.module.propertyset.PropertySet

public class NullPropertySet
extends Object
implements com.opensymphony.module.propertyset.PropertySet


Field Summary
 
Fields inherited from interface com.opensymphony.module.propertyset.PropertySet
BOOLEAN, DATA, DATE, DOUBLE, INT, LONG, OBJECT, PROPERTIES, STRING, TEXT, XML
 
Constructor Summary
NullPropertySet()
           
 
Method Summary
 boolean exists(String uid)
           
 Object getAsActualType(String uid)
           
 boolean getBoolean(String uid)
           
 byte[] getData(String uid)
           
 Date getDate(String uid)
           
 double getDouble(String uid)
           
 int getInt(String uid)
           
 Collection getKeys()
           
 Collection getKeys(int i)
           
 Collection getKeys(String uid)
           
 Collection getKeys(String uid, int i)
           
 long getLong(String uid)
           
 Object getObject(String uid)
           
 Properties getProperties(String uid)
           
 com.opensymphony.module.propertyset.PropertySetSchema getSchema()
           
 String getString(String uid)
           
 String getText(String uid)
           
 int getType(String uid)
           
 Document getXML(String uid)
           
 void init(Map map, Map map1)
           
 boolean isSettable(String uid)
           
 void remove(String uid)
           
 void setAsActualType(String uid, Object o)
           
 void setBoolean(String uid, boolean b)
           
 void setData(String uid, byte[] bytes)
           
 void setDate(String uid, Date date)
           
 void setDouble(String uid, double v)
           
 void setInt(String uid, int i)
           
 void setLong(String uid, long l)
           
 void setObject(String uid, Object o)
           
 void setProperties(String uid, Properties properties)
           
 void setSchema(com.opensymphony.module.propertyset.PropertySetSchema propertySetSchema)
           
 void setString(String uid, String uid1)
           
 void setText(String uid, String uid1)
           
 void setXML(String uid, Document document)
           
 boolean supportsType(int i)
           
 boolean supportsTypes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullPropertySet

public NullPropertySet()
Method Detail

setSchema

public void setSchema(com.opensymphony.module.propertyset.PropertySetSchema propertySetSchema)
               throws com.opensymphony.module.propertyset.PropertyException
Specified by:
setSchema in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

getSchema

public com.opensymphony.module.propertyset.PropertySetSchema getSchema()
                                                                throws com.opensymphony.module.propertyset.PropertyException
Specified by:
getSchema in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

setAsActualType

public void setAsActualType(String uid,
                            Object o)
                     throws com.opensymphony.module.propertyset.PropertyException
Specified by:
setAsActualType in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

getAsActualType

public Object getAsActualType(String uid)
                       throws com.opensymphony.module.propertyset.PropertyException
Specified by:
getAsActualType in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

setBoolean

public void setBoolean(String uid,
                       boolean b)
                throws com.opensymphony.module.propertyset.PropertyException
Specified by:
setBoolean in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

getBoolean

public boolean getBoolean(String uid)
                   throws com.opensymphony.module.propertyset.PropertyException
Specified by:
getBoolean in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

setData

public void setData(String uid,
                    byte[] bytes)
             throws com.opensymphony.module.propertyset.PropertyException
Specified by:
setData in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

getData

public byte[] getData(String uid)
               throws com.opensymphony.module.propertyset.PropertyException
Specified by:
getData in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

setDate

public void setDate(String uid,
                    Date date)
             throws com.opensymphony.module.propertyset.PropertyException
Specified by:
setDate in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

getDate

public Date getDate(String uid)
             throws com.opensymphony.module.propertyset.PropertyException
Specified by:
getDate in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

setDouble

public void setDouble(String uid,
                      double v)
               throws com.opensymphony.module.propertyset.PropertyException
Specified by:
setDouble in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

getDouble

public double getDouble(String uid)
                 throws com.opensymphony.module.propertyset.PropertyException
Specified by:
getDouble in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

setInt

public void setInt(String uid,
                   int i)
            throws com.opensymphony.module.propertyset.PropertyException
Specified by:
setInt in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

getInt

public int getInt(String uid)
           throws com.opensymphony.module.propertyset.PropertyException
Specified by:
getInt in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

getKeys

public Collection getKeys()
                   throws com.opensymphony.module.propertyset.PropertyException
Specified by:
getKeys in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

getKeys

public Collection getKeys(int i)
                   throws com.opensymphony.module.propertyset.PropertyException
Specified by:
getKeys in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

getKeys

public Collection getKeys(String uid)
                   throws com.opensymphony.module.propertyset.PropertyException
Specified by:
getKeys in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

getKeys

public Collection getKeys(String uid,
                          int i)
                   throws com.opensymphony.module.propertyset.PropertyException
Specified by:
getKeys in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

setLong

public void setLong(String uid,
                    long l)
             throws com.opensymphony.module.propertyset.PropertyException
Specified by:
setLong in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

getLong

public long getLong(String uid)
             throws com.opensymphony.module.propertyset.PropertyException
Specified by:
getLong in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

setObject

public void setObject(String uid,
                      Object o)
               throws com.opensymphony.module.propertyset.PropertyException
Specified by:
setObject in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

getObject

public Object getObject(String uid)
                 throws com.opensymphony.module.propertyset.PropertyException
Specified by:
getObject in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

setProperties

public void setProperties(String uid,
                          Properties properties)
                   throws com.opensymphony.module.propertyset.PropertyException
Specified by:
setProperties in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

getProperties

public Properties getProperties(String uid)
                         throws com.opensymphony.module.propertyset.PropertyException
Specified by:
getProperties in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

isSettable

public boolean isSettable(String uid)
Specified by:
isSettable in interface com.opensymphony.module.propertyset.PropertySet

setString

public void setString(String uid,
                      String uid1)
               throws com.opensymphony.module.propertyset.PropertyException
Specified by:
setString in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

getString

public String getString(String uid)
                 throws com.opensymphony.module.propertyset.PropertyException
Specified by:
getString in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

setText

public void setText(String uid,
                    String uid1)
             throws com.opensymphony.module.propertyset.PropertyException
Specified by:
setText in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

getText

public String getText(String uid)
               throws com.opensymphony.module.propertyset.PropertyException
Specified by:
getText in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

getType

public int getType(String uid)
            throws com.opensymphony.module.propertyset.PropertyException
Specified by:
getType in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

setXML

public void setXML(String uid,
                   Document document)
            throws com.opensymphony.module.propertyset.PropertyException
Specified by:
setXML in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

getXML

public Document getXML(String uid)
                throws com.opensymphony.module.propertyset.PropertyException
Specified by:
getXML in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

exists

public boolean exists(String uid)
               throws com.opensymphony.module.propertyset.PropertyException
Specified by:
exists in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

init

public void init(Map map,
                 Map map1)
Specified by:
init in interface com.opensymphony.module.propertyset.PropertySet

remove

public void remove(String uid)
            throws com.opensymphony.module.propertyset.PropertyException
Specified by:
remove in interface com.opensymphony.module.propertyset.PropertySet
Throws:
com.opensymphony.module.propertyset.PropertyException

supportsType

public boolean supportsType(int i)
Specified by:
supportsType in interface com.opensymphony.module.propertyset.PropertySet

supportsTypes

public boolean supportsTypes()
Specified by:
supportsTypes in interface com.opensymphony.module.propertyset.PropertySet


Copyright © 2005-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.