public interface IConsolidationDocument
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.util.List<java.lang.String>>> |
getAllDirectives()
Returns all the directives defined in this document
|
java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.util.List<java.lang.String>>> |
getAllMetas()
Returns all the meta defined in this document
|
java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.util.List<IDocumentPart>>> |
getAllParts()
Returns all the parts defined in this document
|
java.lang.String |
getDirective(java.lang.String name)
Returns the first directive value for the given name.
|
java.util.Set<java.lang.String> |
getDirectiveNames()
Returns all the document directive names.
|
java.util.List<java.lang.String> |
getDirectives(java.lang.String name)
Returns all the directives for the given name.
|
java.lang.String |
getMeta(java.lang.String name)
Returns the first meta value for the given name.
|
java.util.Set<java.lang.String> |
getMetaNames()
Returns all the meta names.
|
java.util.List<java.lang.String> |
getMetas(java.lang.String name)
Returns all the meta values for the given name.
|
java.util.List<java.lang.String> |
getOriginalSources()
Returns the list of original sources for the given document.
|
IDocumentPart |
getPart(java.lang.String name)
Returns the first document part for the given name.
|
java.util.Set<java.lang.String> |
getPartNames()
Returns all the document part names.
|
java.util.List<IDocumentPart> |
getParts(java.lang.String name)
Returns the list of document parts for the given name.
|
java.lang.String |
getSource()
Returns the document original source that produced it.
|
default java.lang.String |
getStamp()
Returns the document stamp.
|
java.lang.String |
getType()
Returns the document representative type.
|
java.util.List<java.lang.String> |
getTypeInheritance()
Returns the type inheritance for the document.
|
java.lang.String |
getUri()
Return the document unique identifier.
|
boolean |
hasDirective(java.lang.String name)
Indicates if yes or no the directive name has an associated value within the document.
|
boolean |
hasMeta(java.lang.String name)
Indicates if yes or no the meta name has an associated value within the document.
|
boolean |
hasPart(java.lang.String name)
Indicates if yes or no the part name has an associated value within the document.
|
boolean |
isOfType(java.lang.String type)
Indicates if the type transmitted is among the list of the current document types.
|
boolean isOfType(@Nonnull java.lang.String type)
type
- The type to test against.java.lang.Iterable<java.util.Map.Entry<java.lang.String,java.util.List<java.lang.String>>> getAllDirectives()
Iterable
over all the directives defined in this documentjava.lang.Iterable<java.util.Map.Entry<java.lang.String,java.util.List<java.lang.String>>> getAllMetas()
Iterable
over all the metas defined in this documentjava.lang.Iterable<java.util.Map.Entry<java.lang.String,java.util.List<IDocumentPart>>> getAllParts()
Iterable
over all the parts defined in this documentjava.util.Set<java.lang.String> getDirectiveNames()
java.lang.String getDirective(@Nonnull java.lang.String name)
name
- The directive name to consider.java.util.List<java.lang.String> getDirectives(@Nonnull java.lang.String name)
name
- The directive name to consider.java.util.Set<java.lang.String> getMetaNames()
java.lang.String getMeta(@Nonnull java.lang.String name)
name
- The meta name to consider.java.util.List<java.lang.String> getMetas(@Nonnull java.lang.String name)
name
- The meta value to consider.java.util.List<java.lang.String> getOriginalSources()
java.util.Set<java.lang.String> getPartNames()
IDocumentPart getPart(@Nonnull java.lang.String name)
name
- The part name to consider.java.util.List<IDocumentPart> getParts(@Nonnull java.lang.String name)
name
- The part name to consider.java.lang.String getSource()
java.lang.String getType()
default java.lang.String getStamp()
java.util.List<java.lang.String> getTypeInheritance()
getType()
.java.lang.String getUri()
boolean hasDirective(@Nonnull java.lang.String name)
name
- The directive name to consider.boolean hasMeta(@Nonnull java.lang.String name)
name
- The meta name to consider.boolean hasPart(@Nonnull java.lang.String name)
name
- The part name to consider.Copyright © 2013 Dassault Systèmes, All Rights Reserved.