Package cruise.umple.compiler
Class Filter
java.lang.Object
cruise.umple.compiler.Filter
public class Filter
extends java.lang.Object
Fragment source file: Umple_Code.ump
Line : 4932
A Diagram represents a subset of the available model and is used
to help isolate certain aspects of the system.
It will be used by the code generation process to "strip" the model
piror to generation so that all generators will support Diagrams
Right now, no implementation, just setting up the model
-
Constructor Summary
Constructors Constructor Description Filter(java.lang.String aName)
-
Method Summary
Modifier and Type Method Description boolean
addFilterValue(java.lang.String aFilterValue)
boolean
addValue(java.lang.String aValue)
void
delete()
int
getAssociationCount()
java.lang.String
getFilterValue(int index)
java.lang.String[]
getFilterValues()
java.lang.String
getName()
int
getSubCount()
int
getSuperCount()
java.lang.String
getValue(int index)
java.lang.String[]
getValues()
boolean
hasAssociation()
boolean
hasFilterValues()
boolean
hasNestedFilter()
boolean
hasSub()
boolean
hasSuper()
boolean
hasValues()
int
indexOfFilterValue(java.lang.String aFilterValue)
int
indexOfValue(java.lang.String aValue)
boolean
isEmpty()
boolean
isIncluded(UmpleClass clazz)
boolean
isIncluded(java.lang.String name)
int
numberOfFilterValues()
int
numberOfValues()
boolean
removeFilterValue(java.lang.String aFilterValue)
boolean
removeValue(java.lang.String aValue)
boolean
setAssociationCount(int aAssociationCount)
boolean
setName(java.lang.String aName)
boolean
setSubCount(int aSubCount)
boolean
setSuperCount(int aSuperCount)
java.lang.String
toString()
-
Constructor Details
-
Filter
public Filter(java.lang.String aName)
-
-
Method Details
-
setName
public boolean setName(java.lang.String aName) -
setSuperCount
public boolean setSuperCount(int aSuperCount) -
setSubCount
public boolean setSubCount(int aSubCount) -
setAssociationCount
public boolean setAssociationCount(int aAssociationCount) -
addValue
public boolean addValue(java.lang.String aValue) -
removeValue
public boolean removeValue(java.lang.String aValue) -
addFilterValue
public boolean addFilterValue(java.lang.String aFilterValue) -
removeFilterValue
public boolean removeFilterValue(java.lang.String aFilterValue) -
getName
public java.lang.String getName() -
getSuperCount
public int getSuperCount() -
getSubCount
public int getSubCount() -
getAssociationCount
public int getAssociationCount() -
getValue
public java.lang.String getValue(int index) -
getValues
public java.lang.String[] getValues() -
numberOfValues
public int numberOfValues() -
hasValues
public boolean hasValues() -
indexOfValue
public int indexOfValue(java.lang.String aValue) -
getFilterValue
public java.lang.String getFilterValue(int index) -
getFilterValues
public java.lang.String[] getFilterValues() -
numberOfFilterValues
public int numberOfFilterValues() -
hasFilterValues
public boolean hasFilterValues() -
indexOfFilterValue
public int indexOfFilterValue(java.lang.String aFilterValue) -
delete
public void delete() -
hasNestedFilter
public boolean hasNestedFilter() -
hasAssociation
public boolean hasAssociation() -
hasSub
public boolean hasSub() -
hasSuper
public boolean hasSuper() -
isEmpty
public boolean isEmpty() -
isIncluded
public boolean isIncluded(java.lang.String name) -
isIncluded
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-