Package com.tridion.meta
Interface ComponentMeta
- All Superinterfaces:
Item
This is the public interface for all Component metadata. It extends the
Item
interface and adds access to two other properties, namely the CustomMetadata and the Schema Id.-
Method Summary
Modifier and TypeMethodDescriptionReturns the Author for this Component, if there is any.Returns the CustomMetaData for this Component, if there is any.intReturns the id of the Schema that is used to create this Component.booleanReturns true if this component is a multimedia one or false if it's a normal component.Methods inherited from interface com.tridion.meta.Item
getCategories, getCreationDate, getId, getInitialPublicationDate, getLastPublicationDate, getMajorVersion, getMinorVersion, getModificationDate, getNamespaceId, getOwningPublicationId, getPublicationId, getTitle, getType
-
Method Details
-
getSchemaId
int getSchemaId()Returns the id of the Schema that is used to create this Component.- Returns:
- the id of the schema for this Component.
-
getCustomMeta
CustomMeta getCustomMeta()Returns the CustomMetaData for this Component, if there is any. If there is none,nullis returned.- Returns:
- the CustomMetaData for this Component as a CustomMeta object, or
nullif there is none.
-
getAuthor
String getAuthor()Returns the Author for this Component, if there is any. This author value is the login name of the Tridion user that last modified the Component.- Returns:
- the author for this Component as a CustomMeta object, or
nullif there is none.
-
isMultimedia
boolean isMultimedia()Returns true if this component is a multimedia one or false if it's a normal component.- Returns:
- true if this component is a multimedia one or false if it's a normal component.
-