org.kuali.rice.core.impl.style
Class StyleBo
java.lang.Object
org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBase
org.kuali.rice.core.impl.style.StyleBo
- All Implemented Interfaces:
- groovy.lang.GroovyObject, Serializable, org.apache.ojb.broker.PersistenceBrokerAware, Inactivatable, GloballyUnique, Versioned, ModelObjectBasic, StyleContract, BusinessObject, PersistableBusinessObject
public class StyleBo
- extends PersistableBusinessObjectBase
- implements StyleContract, groovy.lang.GroovyObject
- See Also:
- Serialized Form
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber |
StyleBo
public StyleBo()
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass
in interface groovy.lang.GroovyObject
invokeMethod
public Object invokeMethod(String method,
Object arguments)
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
getProperty
public Object getProperty(String property)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
setProperty
public void setProperty(String property,
Object value)
- Specified by:
setProperty
in interface groovy.lang.GroovyObject
getStyleId
public Long getStyleId()
- Description copied from interface:
StyleContract
- Returns the identifier of this style. Should only return null if this
style has not been persisted to a data repository yet. Each
individual style should have a unique identifier.
- Specified by:
getStyleId
in interface StyleContract
- Returns:
- the id of this style, or null if it has not yet been set
setStyleId
public void setStyleId(Long value)
getName
public String getName()
- Description copied from interface:
StyleContract
- Returns the name of this style. All styles have a name and this value
can never be null or blank. The name must be unique within the entire
repository of existing styles.
- Specified by:
getName
in interface StyleContract
- Returns:
- the name of this style
setName
public void setName(String value)
getXmlContent
public String getXmlContent()
- Description copied from interface:
StyleContract
- Returns the XML definition of this style as a String.
- Specified by:
getXmlContent
in interface StyleContract
- Returns:
- the xml definition of this style
setXmlContent
public void setXmlContent(String value)
getActive
public boolean getActive()
isActive
public boolean isActive()
- Description copied from interface:
Inactivatable
- The active indicator for an object.
- Specified by:
isActive
in interface Inactivatable
- Returns:
- true if active false if not.
setActive
public void setActive(boolean value)
to
public static Style to(StyleBo styleBo)
from
public static StyleBo from(Style style)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.