|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAbstractArtifact
Abstract Artifact for a Tigerstripe Model.
| Nested Class Summary | |
|---|---|
static interface |
IAbstractArtifact.IFieldTypeRef
|
| Nested classes/interfaces inherited from interface org.eclipse.tigerstripe.workbench.model.deprecated_.IModelComponent |
|---|
IModelComponent.EMultiplicity, IModelComponent.EVisibility |
| Field Summary | |
|---|---|
static IAbstractArtifact[] |
EMPTY_ARRAY
|
| Method Summary | |
|---|---|
void |
addField(IField field)
Add a single field to the fields for this Abstract Artifact. |
void |
addLiteral(ILiteral literal)
Add a single literal to the literals for this Abstract Artifact. |
void |
addMethod(IMethod method)
Add a single method to the methods for this Abstract Artifact. |
java.lang.String |
asText()
|
void |
doSave(IProgressMonitor monitor)
|
void |
doSilentSave(IProgressMonitor monitor)
|
java.util.Collection<IAbstractArtifact> |
getAncestors()
Returns the Ancestors of this class if defined. |
java.lang.String |
getArtifactPath()
|
java.lang.String |
getArtifactType()
Returns the type of this artifact. |
java.util.Collection<java.lang.Object> |
getChildren()
Returns all children for this artifact Children are Fields, Methods, Literals, and potentially ends for IRelationships |
IAbstractArtifact |
getExtendedArtifact()
Returns the IAbstractArtifact which this artifact extends. |
java.util.Collection<IAbstractArtifact> |
getExtendingArtifacts()
Returns a collection of all the artifacts that directly extend this artifact. |
java.util.Collection<IField> |
getFields()
Returns the fields defined for this artifact. |
java.util.Collection<IField> |
getFields(boolean filterFacetExcludedFields)
Returns the fields defined for this artifact. |
IAbstractArtifact.IFieldTypeRef[] |
getFieldTypes()
Returns an array of all the field types for this artifact. |
java.lang.String |
getFullyQualifiedName()
Returns the fully qualified name (ie. |
java.util.Collection<IAbstractArtifact> |
getImplementedArtifacts()
Returns a collection containing all the artifacts that are implemented by this artifact. |
java.lang.String |
getImplementedArtifactsAsStr()
Returns a string containing a ';' separated list of FullyQualifiedNames of the artifacts that are implemented by this artifact. |
java.util.Collection<IAbstractArtifact> |
getImplementingArtifacts()
Returns a collection containing all the artifacts that are implementing this. |
java.util.Collection<IField> |
getInheritedFields()
Returns the inherited fields for this artifact. |
java.util.Collection<IField> |
getInheritedFields(boolean filterFacetExcludedFields)
Returns the inherited fields for this artifact. |
java.util.Collection<ILiteral> |
getInheritedLiterals()
Returns the inherited literals for this artifact. |
java.util.Collection<ILiteral> |
getInheritedLiterals(boolean filterFacetExcludedLiterals)
Returns the inherited literals for this artifact. |
java.util.Collection<IMethod> |
getInheritedMethods()
Returns the inherited methods for this artifact. |
java.util.Collection<IMethod> |
getInheritedMethods(boolean filterFacetExcludedMethods)
Returns the inherited methods for this artifact. |
org.eclipse.tigerstripe.workbench.model.deprecated_.ossj.IStandardSpecifics |
getIStandardSpecifics()
Returns the standard specific details for this artifact. |
java.lang.String |
getLabel()
Returns the label for this Artifact Type that will be displayed in the GUI |
java.util.Collection<ILiteral> |
getLiterals()
Returns the literals defined for this artifact. |
java.util.Collection<ILiteral> |
getLiterals(boolean filterFacetExcludedLiterals)
Returns the literals defined for this artifact. |
java.util.Collection<IMethod> |
getMethods()
Returns the methods defined for this artifact. |
java.util.Collection<IMethod> |
getMethods(boolean filterFacetExcludedMethods)
Returns the methods defined for this artifact. |
java.lang.String |
getPackage()
Returns the package where this artifact is defined. |
IProjectDescriptor |
getProjectDescriptor()
Returns the details contained in the project that this artifact belongs to. |
java.util.Collection<IAbstractArtifact> |
getReferencedArtifacts()
Returns a collection containing all the artifacts being referenced (through a reference or attribute) from this artifact. |
java.util.Collection<IAbstractArtifact> |
getReferencingArtifacts()
Returns a collection with all the artifacts referencing this artifact. |
ITigerstripeModelProject |
getTigerstripeProject()
Returns the Model project that contains this artifact. |
org.eclipse.tigerstripe.workbench.internal.api.model.artifacts.updater.IModelUpdater |
getUpdater()
Figures out the updater to use to submit IModelChangeRequests regarding this artifact. |
boolean |
hasExtends()
Returns true if this artifact extends another artifact. |
boolean |
isAbstract()
Returns true if this Artifact is marked as abstract. |
boolean |
isReadonly()
Returns true if this is a read-only artifact (i.e. |
IField |
makeField()
Make a new blank artifact field. |
ILiteral |
makeLiteral()
Make a new blank artifact literal. |
IMethod |
makeMethod()
Make a new blank artifact method. |
void |
removeFields(java.util.Collection<IField> fields)
Removes a number of fields from this Abstract Artifact. |
void |
removeLiterals(java.util.Collection<ILiteral> literals)
Removes a number of literals from this Abstract Artifact. |
void |
removeMethods(java.util.Collection<IMethod> methods)
Removes a number of methods from this Abstract Artifact. |
void |
setAbstract(boolean isAbstract)
Sets the value of the isAbstract flag for this. |
void |
setExtendedArtifact(IAbstractArtifact artifact)
Sets the IAbstractArtifact which this artifact extends. |
void |
setFields(java.util.Collection<IField> fields)
Sets the fields for this Abstract Artifact. |
void |
setFullyQualifiedName(java.lang.String fqn)
Sets the Fully Qualified Name of the Abstract Artifact. |
void |
setImplementedArtifacts(java.util.Collection<IAbstractArtifact> artifacts)
Set the artifacts that are implemented by this artifact. |
void |
setLiterals(java.util.Collection<ILiteral> literals)
Sets the literals for this Abstract Artifact. |
void |
setMethods(java.util.Collection<IMethod> methods)
Sets the methods for this Abstract Artifact. |
void |
setPackage(java.lang.String packageName)
Sets the package of the artifact. |
void |
write(java.io.Writer writer)
|
| Methods inherited from interface org.eclipse.tigerstripe.workbench.model.deprecated_.IModelComponent |
|---|
getAnnotation, getAnnotations, getAnnotations, getAnnotations, getComment, getMetadata, getName, getProject, getVisibility, hasAnnotations, hasAnnotations, hasAnnotations, isInActiveFacet, setComment, setName, setVisibility, validate |
| Methods inherited from interface org.eclipse.tigerstripe.workbench.profile.stereotype.IStereotypeCapable |
|---|
addStereotypeInstance, getStereotypeInstanceByName, getStereotypeInstances, hasStereotypeInstance, removeStereotypeInstance, removeStereotypeInstances |
| Field Detail |
|---|
static final IAbstractArtifact[] EMPTY_ARRAY
| Method Detail |
|---|
java.lang.String getArtifactType()
java.lang.String getLabel()
boolean isAbstract()
void setAbstract(boolean isAbstract)
isAbstract - java.lang.String getFullyQualifiedName()
void setFullyQualifiedName(java.lang.String fqn)
fqn - -
the FullyQualifiedName for this Artifact.java.lang.String getPackage()
void setPackage(java.lang.String packageName)
fqn - -
the FullyQualifiedName for this Artifact.java.util.Collection<java.lang.Object> getChildren()
java.util.Collection<IField> getFields()
getInheritedIFields()java.util.Collection<IField> getFields(boolean filterFacetExcludedFields)
filterFacetExcludedFields - -
if set to true, all fields that are excluded by the active
facet will be filtered out. If no facet is active, all fields
are returned.
getInheritedIFields()java.util.Collection<IField> getInheritedFields()
java.util.Collection<IField> getInheritedFields(boolean filterFacetExcludedFields)
filterFacetExcludedFields - -
if set to true, all fields that are excluded by the active
facet will be filtered out. If no facet is active, all fields
are returned. return CollectionIField makeField()
void setFields(java.util.Collection<IField> fields)
fields -
java.lang.IllegalArgumentExceptionvoid addField(IField field)
field - to add.void removeFields(java.util.Collection<IField> fields)
fields - to be removed.java.util.Collection<ILiteral> getLiterals()
getInheritedLietrals()java.util.Collection<ILiteral> getLiterals(boolean filterFacetExcludedLiterals)
filterFacetExcludedliterals - -
if set to true, all literals that are excluded by the active
facet will be filtered out. If no facet is active, all
literals are returned.
getInheritedLietrals()java.util.Collection<ILiteral> getInheritedLiterals()
java.util.Collection<ILiteral> getInheritedLiterals(boolean filterFacetExcludedLiterals)
filterFacetExcludedLiterals - -
if set to true, all literals that are excluded by the active
facet will be filtered out. If no facet is active, all
literals are returned.
ILiteral makeLiteral()
void setLiterals(java.util.Collection<ILiteral> literals)
literals -
java.lang.IllegalArgumentExceptionvoid addLiteral(ILiteral literal)
literal - to add.void removeLiterals(java.util.Collection<ILiteral> literals)
literals - to be removed.java.util.Collection<IMethod> getMethods()
getInheritedIMethods()java.util.Collection<IMethod> getMethods(boolean filterFacetExcludedMethods)
filterFacetExcludedMethods - -
if set to true, all methods that are excluded by the active
facet will be filtered out. If no facet is active, all methods
are returned.
getInheritedIMethods()java.util.Collection<IMethod> getInheritedMethods()
java.util.Collection<IMethod> getInheritedMethods(boolean filterFacetExcludedMethods)
filterFacetExcludedMethods - -
if set to true, all methods that are excluded by the active
facet will be filtered out. If no facet is active, all methods
are returned.
IMethod makeMethod()
void setMethods(java.util.Collection<IMethod> methods)
methods -
java.lang.IllegalArgumentExceptionvoid addMethod(IMethod method)
method - to add.void removeMethods(java.util.Collection<IMethod> methods)
methods - to be removed.IAbstractArtifact getExtendedArtifact()
boolean hasExtends()
void setExtendedArtifact(IAbstractArtifact artifact)
artifact - java.util.Collection<IAbstractArtifact> getAncestors()
java.util.Collection<IAbstractArtifact> getExtendingArtifacts()
java.util.Collection<IAbstractArtifact> getImplementedArtifacts()
java.lang.String getImplementedArtifactsAsStr()
java.util.Collection<IAbstractArtifact> getImplementingArtifacts()
void setImplementedArtifacts(java.util.Collection<IAbstractArtifact> artifacts)
artifacts - that are implemented by this artifactjava.util.Collection<IAbstractArtifact> getReferencedArtifacts()
java.util.Collection<IAbstractArtifact> getReferencingArtifacts()
IProjectDescriptor getProjectDescriptor()
#ITigerstripeProject() which returns null for artifacts contained
in Modules.
ITigerstripeModelProject getTigerstripeProject()
getProjectDescriptor()boolean isReadonly()
java.lang.String getArtifactPath()
throws TigerstripeException
TigerstripeException
void doSave(IProgressMonitor monitor)
throws TigerstripeException
TigerstripeException
void doSilentSave(IProgressMonitor monitor)
throws TigerstripeException
TigerstripeException
void write(java.io.Writer writer)
throws TigerstripeException
TigerstripeException
java.lang.String asText()
throws TigerstripeException
TigerstripeException
org.eclipse.tigerstripe.workbench.internal.api.model.artifacts.updater.IModelUpdater getUpdater()
throws TigerstripeException
TigerstripeExceptionIAbstractArtifact.IFieldTypeRef[] getFieldTypes()
org.eclipse.tigerstripe.workbench.model.deprecated_.ossj.IStandardSpecifics getIStandardSpecifics()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||