public class ObjectProperty extends Object implements Serializable
Constructor and Description |
---|
ObjectProperty()
Create empty instance
|
Modifier and Type | Method and Description |
---|---|
ObjectPropertyCategory |
getCategory()
Category used by the object property (may be null, if not embedded in the response)
|
Integer |
getCategoryId()
Get the category ID (may be null)
|
Construct |
getConstruct()
Construct used by the object property (may be null, if not embedded in the response)
|
Integer |
getConstructId()
Internal construct ID
|
String |
getDescription()
Description in the current language
|
Map<String,String> |
getDescriptionI18n() |
String |
getGlobalId()
Global ID
|
Integer |
getId()
Internal ID of the object property definition
|
Boolean |
getInheritable()
True if the object property is inheritable, false if not
|
String |
getKeyword()
Keyword
|
String |
getName()
Name in the current language
|
Map<String,String> |
getNameI18n() |
Boolean |
getRequired()
True if the object property is required, false if not
|
Boolean |
getSyncChannelset()
True if the object property is synchronized for all channel variants
|
Boolean |
getSyncContentset()
True if the object property is synchronized for all languages (only for pages)
|
Boolean |
getSyncVariants()
True if the object property is synchronized for all page variants
|
Integer |
getType()
Type of objects, this object property definition is for
|
ObjectProperty |
setCategory(ObjectPropertyCategory category)
Set the category
|
ObjectProperty |
setCategoryId(Integer categoryId)
Set the category ID (may be null)
|
ObjectProperty |
setConstruct(Construct construct)
Set the construct if embedded or null
|
ObjectProperty |
setConstructId(Integer constructId)
Set the construct ID
|
ObjectProperty |
setDescription(String description)
Set the description
|
ObjectProperty |
setDescription(String name,
String language) |
ObjectProperty |
setDescriptionI18n(Map<String,String> i18nDescription) |
ObjectProperty |
setGlobalId(String globalId)
Set the global ID
|
ObjectProperty |
setId(Integer id)
Set the ID
|
ObjectProperty |
setInheritable(Boolean inheritable)
Set true for inheritable
|
ObjectProperty |
setKeyword(String keyword)
Set the keyword
|
ObjectProperty |
setName(String name)
Set the name
|
ObjectProperty |
setName(String name,
String language) |
ObjectProperty |
setNameI18n(Map<String,String> i18nName) |
ObjectProperty |
setRequired(Boolean required)
Set whether required
|
ObjectProperty |
setSyncChannelset(Boolean syncChannelset)
Set true for synchronization for all channel variants
|
ObjectProperty |
setSyncContentset(Boolean syncContentset)
Set true for synchronization for all languages
|
ObjectProperty |
setSyncVariants(Boolean syncVariants)
Set true for synchronization for all page variants
|
ObjectProperty |
setType(Integer type)
Object type
|
public Integer getId()
public ObjectProperty setId(Integer id)
id
- IDpublic String getGlobalId()
public ObjectProperty setGlobalId(String globalId)
globalId
- global IDpublic String getName()
public ObjectProperty setName(String name)
name
- namepublic String getDescription()
public ObjectProperty setDescription(String description)
description
- descriptionpublic String getKeyword()
public ObjectProperty setKeyword(String keyword)
keyword
- keywordpublic Integer getType()
public ObjectProperty setType(Integer type)
type
- typepublic Integer getConstructId()
public ObjectProperty setConstructId(Integer constructId)
constructId
- construct IDpublic Construct getConstruct()
public ObjectProperty setConstruct(Construct construct)
construct
- construct or nullpublic Boolean getRequired()
public ObjectProperty setRequired(Boolean required)
required
- true for requiredpublic Boolean getInheritable()
public ObjectProperty setInheritable(Boolean inheritable)
inheritable
- true for inheritablepublic Boolean getSyncContentset()
public ObjectProperty setSyncContentset(Boolean syncContentset)
syncContentset
- flagpublic Boolean getSyncChannelset()
public ObjectProperty setSyncChannelset(Boolean syncChannelset)
syncChannelset
- flagpublic Boolean getSyncVariants()
public ObjectProperty setSyncVariants(Boolean syncVariants)
syncVariants
- public Integer getCategoryId()
public ObjectProperty setCategoryId(Integer categoryId)
categoryId
- category IDpublic ObjectPropertyCategory getCategory()
public ObjectProperty setCategory(ObjectPropertyCategory category)
category
- category or nullpublic ObjectProperty setNameI18n(Map<String,String> i18nName)
public ObjectProperty setName(String name, String language)
public ObjectProperty setDescriptionI18n(Map<String,String> i18nDescription)
public ObjectProperty setDescription(String name, String language)
Copyright © 2024 Gentics Software. All rights reserved.