org.kuali.rice.core.api.style
Interface StyleContract

All Superinterfaces:
GloballyUnique, Inactivatable, Versioned
All Known Implementing Classes:
Style, Style.Builder

public interface StyleContract
extends Versioned, GloballyUnique, Inactivatable

This is the contract for a Style. A style represents a stylesheet that is used for transforming data from one format to another (currently only XSL is supported).

Author:
Kuali Rice Team (rice.collab@kuali.org)

Method Summary
 String getName()
          Returns the name of this style.
 Long getStyleId()
          Returns the identifier of this style.
 String getXmlContent()
          Returns the XML definition of this style as a String.
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned
getVersionNumber
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique
getObjectId
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.active.Inactivatable
isActive
 

Method Detail

getStyleId

Long getStyleId()
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.

Returns:
the id of this style, or null if it has not yet been set

getName

String getName()
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.

Returns:
the name of this style

getXmlContent

String getXmlContent()
Returns the XML definition of this style as a String.

Returns:
the xml definition of this style


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.