Package com.enonic.xp.schema.content
Class ContentType
- java.lang.Object
-
- com.enonic.xp.schema.BaseSchema<ContentTypeName>
-
- com.enonic.xp.schema.content.ContentType
-
@PublicApi public final class ContentType extends BaseSchema<ContentTypeName>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContentType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowChildContent()static ContentType.Buildercreate()static ContentType.Buildercreate(ContentType contentType)List<String>getAllowChildContentType()StringgetDisplayNameExpression()StringgetDisplayNameLabel()StringgetDisplayNameLabelI18nKey()FormgetForm()InputTypeConfiggetSchemaConfig()ContentTypeNamegetSuperType()XDataNamesgetXData()booleanhasSuperType()booleanisAbstract()booleanisBuiltIn()booleanisFinal()StringtoString()-
Methods inherited from class com.enonic.xp.schema.BaseSchema
equals, getCreatedTime, getCreator, getDescription, getDescriptionI18nKey, getDisplayName, getDisplayNameI18nKey, getIcon, getModifiedTime, getModifier, getName, hashCode
-
-
-
-
Method Detail
-
create
public static ContentType.Builder create()
-
create
public static ContentType.Builder create(ContentType contentType)
-
hasSuperType
public boolean hasSuperType()
-
getSuperType
public ContentTypeName getSuperType()
-
isAbstract
public boolean isAbstract()
-
isFinal
public boolean isFinal()
-
allowChildContent
public boolean allowChildContent()
-
isBuiltIn
public boolean isBuiltIn()
-
getForm
public Form getForm()
-
getDisplayNameExpression
public String getDisplayNameExpression()
-
getXData
public XDataNames getXData()
-
getDisplayNameLabel
public String getDisplayNameLabel()
-
getDisplayNameLabelI18nKey
public String getDisplayNameLabelI18nKey()
-
getSchemaConfig
public InputTypeConfig getSchemaConfig()
-
-