Package ch.ivyteam.ivy.system
Interface IPropertyBase
- All Known Subinterfaces:
ICustomProperty
,IProperty
,ISystemProperty
public interface IPropertyBase
Base interface for all properties
- API:
- This is a public API.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the property value asboolean
int
Gets the property value asint
long
Gets the property value aslong
getName()
Gets the property namegetValue()
Gets the property value asString
void
setValue
(boolean value) Sets the value of the propertyvoid
setValue
(int value) Sets the value of the propertyvoid
setValue
(long value) Sets the value of the propertyvoid
Sets the value of the property
-
Method Details
-
getName
String getName()Gets the property name- Returns:
- property name
- Throws:
PersistencyException
- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getValue
String getValue()Gets the property value asString
- Returns:
- property value.
- Throws:
PersistencyException
- if persistency access fails- See Also:
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getIntValue
int getIntValue()Gets the property value asint
- Returns:
- property value as int
- Throws:
PersistencyException
- if persistency access failsNumberFormatException
- if int value cannot be parsed- See Also:
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getLongValue
long getLongValue()Gets the property value aslong
- Returns:
- property value as long
- Throws:
PersistencyException
- if persistency access failsNumberFormatException
- if long value cannot be parsed- See Also:
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
getBooleanValue
boolean getBooleanValue()Gets the property value asboolean
- Returns:
- property value as boolean
- Throws:
PersistencyException
- if persistency access fails- See Also:
- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
setValue
Sets the value of the property- Parameters:
value
- the new value- Throws:
PersistencyException
- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
setValue
void setValue(int value) Sets the value of the property- Parameters:
value
- the new value- Throws:
PersistencyException
- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
setValue
void setValue(long value) Sets the value of the property- Parameters:
value
- the new value- Throws:
PersistencyException
- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-
setValue
void setValue(boolean value) Sets the value of the property- Parameters:
value
- the new value- Throws:
PersistencyException
- if persistency access fails- API:
- This public API is available in IvyScript and Java. It has the visibility ADVANCED.
-