Package es.caib.seycon.ng.comu
Class SoDRule
- java.lang.Object
-
- es.caib.seycon.ng.comu.SoDRule
-
- All Implemented Interfaces:
Serializable
public class SoDRule extends Object implements Serializable
ValueObject SoDRule- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getApplication()
Gets value for attribute applicationLong
getId()
Gets value for attribute idString
getName()
Gets value for attribute nameInteger
getNumber()
Gets value for attribute numberSoDRisk
getRisk()
Gets value for attribute riskSodRuleType
getType()
Gets value for attribute typevoid
setApplication(String application)
Sets value for attribute applicationvoid
setId(Long id)
Sets value for attribute idvoid
setName(String name)
Sets value for attribute namevoid
setNumber(Integer number)
Sets value for attribute numbervoid
setRisk(SoDRisk risk)
Sets value for attribute riskvoid
setType(SodRuleType type)
Sets value for attribute typestatic SoDRule
toSoDRule(SoDRule vo)
Creates a SoDRule value object based on a SoDRule object.static void
toSoDRule(SoDRule source, SoDRule target)
Updates a SoDRule value object based on a SoDRule object.static SoDRule[]
toSoDRuleArray(SoDRule[] source)
Creates a SoDRule array on a SoDRule array.static AsyncList<SoDRule>
toSoDRuleAsyncList(AsyncList<SoDRule> source)
Creates a SoDRule asynclist on a SoDRule collection.static PagedResult<SoDRule>
toSoDRuleList(PagedResult<SoDRule> source)
Creates a SoDRule pagedResult on a SoDRule collection.static List<SoDRule>
toSoDRuleList(Collection<SoDRule> source)
Creates a SoDRule list on a SoDRule collection.String
toString()
Returns a string representation of the value object.
-
-
-
Method Detail
-
getId
public Long getId()
Gets value for attribute id
-
setId
public void setId(Long id)
Sets value for attribute id
-
getName
public String getName()
Gets value for attribute name
-
setName
public void setName(String name)
Sets value for attribute name
-
getNumber
public Integer getNumber()
Gets value for attribute number
-
setNumber
public void setNumber(Integer number)
Sets value for attribute number
-
getRisk
public SoDRisk getRisk()
Gets value for attribute risk
-
setRisk
public void setRisk(SoDRisk risk)
Sets value for attribute risk
-
getType
public SodRuleType getType()
Gets value for attribute type
-
setType
public void setType(SodRuleType type)
Sets value for attribute type
-
getApplication
public String getApplication()
Gets value for attribute application
-
setApplication
public void setApplication(String application)
Sets value for attribute application
-
toString
public String toString()
Returns a string representation of the value object.
-
toSoDRule
public static SoDRule toSoDRule(SoDRule vo)
Creates a SoDRule value object based on a SoDRule object.
-
toSoDRuleList
public static List<SoDRule> toSoDRuleList(Collection<SoDRule> source)
Creates a SoDRule list on a SoDRule collection.
-
toSoDRuleList
public static PagedResult<SoDRule> toSoDRuleList(PagedResult<SoDRule> source)
Creates a SoDRule pagedResult on a SoDRule collection.
-
toSoDRuleAsyncList
public static AsyncList<SoDRule> toSoDRuleAsyncList(AsyncList<SoDRule> source)
Creates a SoDRule asynclist on a SoDRule collection.
-
toSoDRuleArray
public static SoDRule[] toSoDRuleArray(SoDRule[] source)
Creates a SoDRule array on a SoDRule array.
-
-