Class MetadataSet
- java.lang.Object
-
- com.communardo.confluence.metadata.MetadataSet
-
public class MetadataSet extends Object
-
-
Constructor Summary
Constructors Constructor Description MetadataSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)List<com.atlassian.confluence.api.model.content.ContentType>getDefaultFor()StringgetDescription()Gets the description.intgetId()Gets the id.StringgetKey()Gets the key.List<MetadataField>getMetadataFields()Gets the metadata fields.com.atlassian.confluence.spaces.SpacegetSpace()Gets the space.List<com.atlassian.confluence.pages.templates.PageTemplate>getTemplates()Gets the templates.StringgetTitle()Gets the title.inthashCode()booleanisDefaultSet()Checks if is default set.voidsetDefaultFor(List<com.atlassian.confluence.api.model.content.ContentType> defaultFor)voidsetDefaultSet(boolean defaultSet)Sets the default set.voidsetDescription(String description)Sets the description.voidsetId(int id)Sets the id.voidsetKey(String key)Sets the key.voidsetMetadatas(List<MetadataField> metadatas)Sets the metadatas.voidsetSpace(com.atlassian.confluence.spaces.Space space)Sets the space.voidsetTemplates(List<com.atlassian.confluence.pages.templates.PageTemplate> templateids)Sets the templates.voidsetTitle(String title)Sets the title.
-
-
-
Method Detail
-
getTitle
public String getTitle()
Gets the title.- Returns:
- the title
-
setTitle
public void setTitle(String title)
Sets the title.- Parameters:
title- the new title
-
getDescription
public String getDescription()
Gets the description.- Returns:
- the description
-
setDescription
public void setDescription(String description)
Sets the description.- Parameters:
description- the new description
-
getTemplates
public List<com.atlassian.confluence.pages.templates.PageTemplate> getTemplates()
Gets the templates.- Returns:
- the templates
-
setTemplates
public void setTemplates(List<com.atlassian.confluence.pages.templates.PageTemplate> templateids)
Sets the templates.- Parameters:
templateids- the new templates
-
getMetadataFields
public List<MetadataField> getMetadataFields()
Gets the metadata fields.- Returns:
- the metadata fields
-
setMetadatas
public void setMetadatas(List<MetadataField> metadatas)
Sets the metadatas.- Parameters:
metadatas- the new metadatas
-
getId
public int getId()
Gets the id.- Returns:
- the id
-
setId
public void setId(int id)
Sets the id.- Parameters:
id- the new id
-
getSpace
public com.atlassian.confluence.spaces.Space getSpace()
Gets the space.- Returns:
- the space
-
setSpace
public void setSpace(com.atlassian.confluence.spaces.Space space)
Sets the space.- Parameters:
space- the new space
-
isDefaultSet
public boolean isDefaultSet()
Checks if is default set.- Returns:
- true, if is default set
-
setDefaultSet
public void setDefaultSet(boolean defaultSet)
Sets the default set.- Parameters:
defaultSet- the new default set
-
getKey
public String getKey()
Gets the key.- Returns:
- the key
-
setKey
public void setKey(String key)
Sets the key.- Parameters:
key- the new key
-
getDefaultFor
public List<com.atlassian.confluence.api.model.content.ContentType> getDefaultFor()
-
setDefaultFor
public void setDefaultFor(List<com.atlassian.confluence.api.model.content.ContentType> defaultFor)
-
-