public class DiffBlockDefinitionImpl extends Object implements DiffBlockDefinition
DiffBlockDefinition
.Modifier and Type | Field and Description |
---|---|
protected List<DiffFieldDefinition> |
fields |
protected String |
name |
protected Map<String,Map<String,Serializable>> |
properties |
protected Map<String,String> |
templates |
Constructor and Description |
---|
DiffBlockDefinitionImpl(String name,
Map<String,String> templates,
List<DiffFieldDefinition> fields,
Map<String,Map<String,Serializable>> properties) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
List<DiffFieldDefinition> |
getFields()
Returns the list of field definitions.
|
String |
getName()
Gets the diff block definition name.
|
Map<String,Map<String,Serializable>> |
getProperties()
Returns a map of properties by mode.
|
Map<String,Serializable> |
getProperties(String layoutMode)
Returns a map of properties to use in a given mode.
|
String |
getTemplate(String mode)
Returns the template to use in a given mode.
|
Map<String,String> |
getTemplates()
Returns a map of templates by mode.
|
String |
toString() |
protected List<DiffFieldDefinition> fields
protected Map<String,Map<String,Serializable>> properties
public DiffBlockDefinitionImpl(String name, Map<String,String> templates, List<DiffFieldDefinition> fields, Map<String,Map<String,Serializable>> properties)
public String getName()
DiffBlockDefinition
getName
in interface DiffBlockDefinition
public String getTemplate(String mode)
DiffBlockDefinition
getTemplate
in interface DiffBlockDefinition
public Map<String,String> getTemplates()
DiffBlockDefinition
getTemplates
in interface DiffBlockDefinition
public List<DiffFieldDefinition> getFields()
DiffBlockDefinition
getFields
in interface DiffBlockDefinition
public Map<String,Serializable> getProperties(String layoutMode)
DiffBlockDefinition
getProperties
in interface DiffBlockDefinition
public Map<String,Map<String,Serializable>> getProperties()
DiffBlockDefinition
getProperties
in interface DiffBlockDefinition
Copyright © 2015 Nuxeo SA. All rights reserved.