Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.theme.formats
Class DefaultFormat

java.lang.Object
  extended by org.nuxeo.theme.formats.DefaultFormat
All Implemented Interfaces:
Format, PropertySheet, Relate, Identifiable
Direct Known Subclasses:
LayoutFormat, StyleFormat, WidgetFormat

public class DefaultFormat
extends Object
implements Format


Constructor Summary
DefaultFormat()
           
 
Method Summary
 void clonePropertiesOf(Format source)
           
 String getDescription()
           
 FormatType getFormatType()
           
 String getName()
           
 Predicate getPredicate()
           
 Properties getProperties()
           
 String getProperty(String key)
           
 Enumeration<?> getPropertyNames()
           
 Integer getUid()
           
 String hash()
           
 boolean hasProperties()
           
 boolean isCustomized()
           
 boolean isExternal()
           
 boolean isNamed()
           
 boolean isRemote()
           
 void setCustomized(boolean customized)
           
 void setDescription(String description)
           
 void setExternal(boolean external)
           
 void setFormatType(FormatType formatType)
           
 void setName(String name)
           
 void setProperties(Properties properties)
           
 void setProperty(String key, String value)
           
 void setRemote(boolean remote)
           
 void setUid(Integer uid)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFormat

public DefaultFormat()
Method Detail

getUid

public Integer getUid()
Specified by:
getUid in interface Identifiable

setUid

public void setUid(Integer uid)
Specified by:
setUid in interface Identifiable

hash

public String hash()
Specified by:
hash in interface Relate

getPredicate

public Predicate getPredicate()
Specified by:
getPredicate in interface Format

getFormatType

public FormatType getFormatType()
Specified by:
getFormatType in interface Format

setFormatType

public void setFormatType(FormatType formatType)
Specified by:
setFormatType in interface Format

getName

public String getName()
Specified by:
getName in interface Identifiable

setName

public void setName(String name)
Specified by:
setName in interface Identifiable

getProperty

public String getProperty(String key)
Specified by:
getProperty in interface PropertySheet

setProperty

public void setProperty(String key,
                        String value)
Specified by:
setProperty in interface PropertySheet

getPropertyNames

public Enumeration<?> getPropertyNames()
Specified by:
getPropertyNames in interface PropertySheet

hasProperties

public boolean hasProperties()
Specified by:
hasProperties in interface PropertySheet

getProperties

public Properties getProperties()
Specified by:
getProperties in interface PropertySheet

setProperties

public void setProperties(Properties properties)
Specified by:
setProperties in interface PropertySheet

getDescription

public String getDescription()
Specified by:
getDescription in interface Format

setDescription

public void setDescription(String description)
Specified by:
setDescription in interface Format

clonePropertiesOf

public void clonePropertiesOf(Format source)
Specified by:
clonePropertiesOf in interface Format

isNamed

public boolean isNamed()
Specified by:
isNamed in interface Format

isRemote

public boolean isRemote()
Specified by:
isRemote in interface Format

setRemote

public void setRemote(boolean remote)
Specified by:
setRemote in interface Format

isCustomized

public boolean isCustomized()
Specified by:
isCustomized in interface Format

setCustomized

public void setCustomized(boolean customized)
Specified by:
setCustomized in interface Format

setExternal

public void setExternal(boolean external)

isExternal

public boolean isExternal()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.