org.solovyev.android
Class APropertiesContainerImpl

java.lang.Object
  extended by org.solovyev.common.JObject
      extended by org.solovyev.android.APropertiesContainerImpl
All Implemented Interfaces:
Serializable, Cloneable, APropertiesContainer, APropertiesProvider, org.solovyev.common.JCloneable<APropertiesContainer>

public class APropertiesContainerImpl
extends org.solovyev.common.JObject
implements APropertiesContainer

User: serso Date: 8/21/12 Time: 2:18 PM

See Also:
Serialized Form

Constructor Summary
APropertiesContainerImpl()
           
 
Method Summary
 void clearProperties()
           
 APropertiesContainerImpl clone()
           
static APropertiesContainer copyOf(APropertiesContainer propertiesContainer)
           
 Map<String,AProperty> getProperties()
           
 Collection<AProperty> getPropertiesCollection()
           
 AProperty getProperty(String name)
           
 String getPropertyValue(String name)
           
static APropertiesContainer newInstance(Collection<AProperty> properties)
           
static APropertiesContainer newInstance(Map<String,AProperty> properties)
           
 AProperty removeProperty(String name)
           
 void setPropertiesFrom(APropertiesContainer that)
           
 void setPropertiesFrom(Collection<AProperty> properties)
           
 void setProperty(AProperty property)
           
 AProperty setProperty(String name, String value)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

APropertiesContainerImpl

public APropertiesContainerImpl()
Method Detail

copyOf

@NotNull
public static APropertiesContainer copyOf(@NotNull
                                                  APropertiesContainer propertiesContainer)

newInstance

@NotNull
public static APropertiesContainer newInstance(@NotNull
                                                       Collection<AProperty> properties)

newInstance

@NotNull
public static APropertiesContainer newInstance(@NotNull
                                                       Map<String,AProperty> properties)

clone

@NotNull
public APropertiesContainerImpl clone()
Specified by:
clone in interface APropertiesContainer
Specified by:
clone in interface org.solovyev.common.JCloneable<APropertiesContainer>
Overrides:
clone in class org.solovyev.common.JObject

setProperty

@NotNull
public AProperty setProperty(@NotNull
                                     String name,
                                     @NotNull
                                     String value)
Specified by:
setProperty in interface APropertiesContainer

setProperty

public void setProperty(@NotNull
                        AProperty property)
Specified by:
setProperty in interface APropertiesContainer

setPropertiesFrom

public void setPropertiesFrom(@NotNull
                              APropertiesContainer that)
Specified by:
setPropertiesFrom in interface APropertiesContainer

setPropertiesFrom

public void setPropertiesFrom(@NotNull
                              Collection<AProperty> properties)
Specified by:
setPropertiesFrom in interface APropertiesContainer

removeProperty

@Nullable
public AProperty removeProperty(@NotNull
                                         String name)
Specified by:
removeProperty in interface APropertiesContainer

getProperty

@Nullable
public AProperty getProperty(@NotNull
                                      String name)
Specified by:
getProperty in interface APropertiesProvider

getPropertyValue

public String getPropertyValue(@NotNull
                               String name)
Specified by:
getPropertyValue in interface APropertiesProvider

clearProperties

public void clearProperties()
Specified by:
clearProperties in interface APropertiesContainer

getProperties

@NotNull
public Map<String,AProperty> getProperties()
Specified by:
getProperties in interface APropertiesContainer

getPropertiesCollection

@NotNull
public Collection<AProperty> getPropertiesCollection()
Specified by:
getPropertiesCollection in interface APropertiesProvider


Copyright © 2012. All Rights Reserved.