public interface IWithSourceProperties
| Modifier and Type | Method and Description |
|---|---|
static void |
copy(IWithSourceProperties from,
IWithSourceProperties to)
Copy all
IWithSourceProperties Unless destination already has the property.
Target LocaleId not found in the destination are added then properties are copied. |
Map<String,Property> |
getSourceProperties() |
default Property |
getSourceProperty(String name)
Gets the source property for a given name.
|
default Set<String> |
getSourcePropertyNames()
Gets the names of all the source properties for this resource.
|
default boolean |
hasSourceProperty(String name)
Indicates if a source property exists for a given name.
|
default void |
removeSourceProperty(String name)
Removes a source property of a given name.
|
default Property |
setSourceProperty(Property property)
Sets a source property.
|
static void copy(IWithSourceProperties from, IWithSourceProperties to)
IWithSourceProperties Unless destination already has the property.
Target LocaleId not found in the destination are added then properties are copied.
Properties are cloned before copying.from - source of IWithSourcePropertiesto - destination of IWithSourcePropertiesMap<String,Property> getSourceProperties()
Map of source properties for the implementer of interfacedefault Property getSourceProperty(String name)
name - The name of the source property to retrieve.default Set<String> getSourcePropertyNames()
default boolean hasSourceProperty(String name)
name - The name of the source property to query.default void removeSourceProperty(String name)
name - The name of the property to remove.Copyright © 2021. All rights reserved.