public class Category extends Modifiable implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.util.List<Rule> |
rule |
java.lang.String |
value |
modifiedAt, modifiedBy
Constructor and Description |
---|
Category() |
Category(Category o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this Category.
|
static Category |
fromString(java.lang.String s)
String representation of this Category.
|
java.util.List<Rule> |
getRule() |
java.lang.String |
getValue()
The category value
|
Category |
makeCopy()
Creates and returns a deep copy of this Category.
|
static Category |
readFrom(java.io.InputStream is)
Read this Category from an XML fragment.
|
void |
setValue(java.lang.String value)
The category value
|
java.lang.String |
toString()
String representation of this Category.
|
Category |
withModifiedAt(java.lang.Long modifiedAt) |
Category |
withModifiedBy(java.lang.String modifiedBy) |
Category |
withRule(java.util.Collection<Rule> __values) |
Category |
withRule(Rule... __values) |
Category |
withValue(java.lang.String value) |
void |
writeTo(java.io.OutputStream os)
Write this Category as an XML fragment
|
getModifiedAt, getModifiedBy, setModifiedAt, setModifiedBy
public java.util.List<Rule> rule
public java.lang.String value
public Category()
public Category(Category o)
public Category withModifiedBy(java.lang.String modifiedBy)
withModifiedBy
in class Modifiable
public Category withModifiedAt(java.lang.Long modifiedAt)
withModifiedAt
in class Modifiable
public java.util.List<Rule> getRule()
public void setValue(java.lang.String value)
public java.lang.String getValue()
public Category withValue(java.lang.String value)
public Category makeCopy()
makeCopy
in class Modifiable
public static Category readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class Modifiable
javax.xml.bind.JAXBException
java.io.IOException
public static Category fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class Modifiable
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class Modifiable
com.exalead.util.TypedException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.