| |
|
| java.lang.Object org.netbeans.modules.uml.core.reverseengineering.reframework.parsingframework.CollectionType
CollectionType | public class CollectionType (Code) | | author: treyspiva |
Method Summary | |
public boolean | equals(Object obj) Test if two types are the same. | public String | getFullName() | public String | getName() Retrieves the name of the collection type. | public String | getPackageName() Retrieves the package that owns the collection type. | public int | hashCode() | public boolean | isDefaultType() Retrieves if the default type property. | public boolean | isUserDefined() Retrieves if the collection type is a user defined type or a type defined by
the language. | public void | setDefaultType(boolean defaultType) Set the default type property. | public void | setName(String name) Sets the name of the collection type. | public void | setPackageName(String packageName) Sets the package that owns the collection type. | public void | setUserDefined(boolean userDefined) Sets if the collection type is a user defined type or a type defined by
the language. |
CollectionType | public CollectionType()(Code) | | Creates a new instance of CollectionTypes
|
CollectionType | public CollectionType(String name, String packName, boolean user, boolean defaultType)(Code) | | Creates a new instance of CollectionTypes
Parameters: name - The name of the type Parameters: packName - The package of the type Parameters: user - is the type a user defined type Parameters: defaultType - is the type the default collection type |
equals | public boolean equals(Object obj)(Code) | | Test if two types are the same. If a String is passed in it tries to
determine if the package and name equals the string value.
Parameters: obj - The object to test. true if the objects are equal, false otherwise. |
getName | public String getName()(Code) | | Retrieves the name of the collection type.
the name of the collection type. |
getPackageName | public String getPackageName()(Code) | | Retrieves the package that owns the collection type.
the owning package name. |
hashCode | public int hashCode()(Code) | | Calculates a hashcode
the hashcode value. |
isDefaultType | public boolean isDefaultType()(Code) | | Retrieves if the default type property. The default collection type is the
default type to use when generating code for an attribute with 0..*
multiplicity
true if the type is the default type |
isUserDefined | public boolean isUserDefined()(Code) | | Retrieves if the collection type is a user defined type or a type defined by
the language.
true if the type is a user type. |
setDefaultType | public void setDefaultType(boolean defaultType)(Code) | | Set the default type property. The default collection type is the
default type to use when generating code for an attribute with 0..*
multiplicity
Parameters: defaultType - true if the type is the default type |
setName | public void setName(String name)(Code) | | Sets the name of the collection type.
Parameters: name - the type name |
setPackageName | public void setPackageName(String packageName)(Code) | | Sets the package that owns the collection type.
Parameters: packageName - the owning package name. |
setUserDefined | public void setUserDefined(boolean userDefined)(Code) | | Sets if the collection type is a user defined type or a type defined by
the language.
Parameters: userDefined - true if the type is a user type. |
|
|
|