public interface ITypeDefinition
Represents OpenPages metadata pertaining to a type part of a GRC model.
IFieldDefinition,
IAssociationDefinition| Modifier and Type | Method and Description |
|---|---|
IAssociationDefinition |
getAssociationDefinition(Id id)
Returns the association based on the Id.
|
java.util.List<IAssociationDefinition> |
getChildrenAssociations()
Returns all children associations for this type (i.e., all other type definitions
for which this type has a direct navigation path).
|
java.lang.String |
getDescription()
Returns the system type description part of the model.
|
IFieldDefinition |
getField(Id id)
Returns the field definition with the specified Id.
|
IFieldDefinition |
getField(java.lang.String systemName)
Returns the field definition with the specified system name.
|
java.util.List<IFieldDefinition> |
getFieldsDefinition()
Returns all field definitions part of this type definition.
|
java.util.List<IFileTypeDefinition> |
getFileTypes()
Returns all the valid combinations of file extensions and MIME types defined for
this type.
|
Id |
getId()
Returns the unique identifier for this type.
|
java.lang.String |
getJspPath()
Returns the path for a JSP resource associated to this type definition.
|
java.lang.String |
getLocalizedLabel()
Returns the type definition singular name in the user locale.
|
java.util.Map<java.util.Locale,java.lang.String> |
getLocalizedLabels()
Returns the map of the type definition singular name in every locale
|
java.lang.String |
getLocalizedPluralLabel()
Returns the type definition plural name in the user locale.
|
java.util.Map<java.util.Locale,java.lang.String> |
getLocalizedPluralLabels()
Returns the map of the type definition plural name in every locale
|
java.lang.String |
getName()
Returns the system name of the type definition.
|
java.util.List<IAssociationDefinition> |
getParentAssociations()
Returns all parent associations for this type definition (i.e., all other type
definitions from which a direct navigation path to this type has been specified).
|
Id |
getRootFolderId()
Returns the unique identifier for this type root folder.
|
java.lang.String |
getRootFolderPath()
Returns the root folder for instances of this type.
|
boolean |
hasFileTypes()
Returns true if this type can have an associated file.
|
java.lang.String getName()
Returns the system name of the type definition.
java.lang.String getLocalizedLabel()
Returns the type definition singular name in the user locale.
java.util.Map<java.util.Locale,java.lang.String> getLocalizedLabels()
Returns the map of the type definition singular name in every locale
java.lang.String getLocalizedPluralLabel()
Returns the type definition plural name in the user locale.
java.util.Map<java.util.Locale,java.lang.String> getLocalizedPluralLabels()
Returns the map of the type definition plural name in every locale
java.lang.String getDescription()
Returns the system type description part of the model.
java.lang.String getJspPath()
Returns the path for a JSP resource associated to this type definition.
Id getId()
Returns the unique identifier for this type.
Id the unique identifier for the typejava.lang.String getRootFolderPath()
Returns the root folder for instances of this type. Each type defined in an OpenPages model is associated with a system generated folder.
Id getRootFolderId()
Returns the unique identifier for this type root folder.
Id the root folder identifierIFieldDefinition getField(java.lang.String systemName)
Returns the field definition with the specified system name.
systemName - for the unique system nameIFieldDefinition getField(Id id)
Returns the field definition with the specified Id.
id - Id of the fieldjava.util.List<IFieldDefinition> getFieldsDefinition()
Returns all field definitions part of this type definition.
java.util.List<IAssociationDefinition> getParentAssociations()
Returns all parent associations for this type definition (i.e., all other type definitions from which a direct navigation path to this type has been specified). Types are organized in a directed graph that can be navigated along pre-defined paths.
java.util.List<IAssociationDefinition> getChildrenAssociations()
Returns all children associations for this type (i.e., all other type definitions for which this type has a direct navigation path).
IAssociationDefinition getAssociationDefinition(Id id)
Returns the association based on the Id.
id - the id of the associationboolean hasFileTypes()
Returns true if this type can have an associated file.
java.util.List<IFileTypeDefinition> getFileTypes()
Returns all the valid combinations of file extensions and MIME types defined for this type.
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2021. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.