Interface ComponentMeta

All Superinterfaces:
Item

public interface ComponentMeta extends 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 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, null is returned.
      Returns:
      the CustomMetaData for this Component as a CustomMeta object, or null if 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 null if 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.