public class JavaRawDependency extends Object implements Comparable<JavaRawDependency>, Serializable, net.sourceforge.plantumldependency.common.clone.DeepCloneable<JavaRawDependency>
| Constructor and Description |
|---|
JavaRawDependency()
Empty constructor.
|
JavaRawDependency(boolean isAbs,
String dependencyPackageName,
JavaType javaType,
String dependencyName,
Set<String> extensions,
Set<String> implementations,
boolean nativeMth)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(JavaRawDependency j) |
JavaRawDependency |
deepClone() |
boolean |
equals(Object obj) |
String |
getFullName()
Gets the full name of the dependency, i.e. the package name + the class name.
|
String |
getName()
Gets the value of
name. |
String |
getPackageName()
Gets the value of
packageName. |
Set<String> |
getParentExtensions()
Gets the value of
parentExtensions. |
Set<String> |
getParentImplementations()
Gets the value of
parentImplementations. |
JavaType |
getType()
Gets the value of
type. |
int |
hashCode() |
boolean |
hasNativeMethods()
Gets the value of
nativeMethods. |
boolean |
isAbstract()
Gets the value of
isAbstract. |
void |
setAbstract(boolean value)
Sets the value of
isAbstract. |
void |
setName(String value)
Sets the value of
name. |
void |
setNativeMethods(boolean value)
Sets the value of
nativeMethods. |
void |
setPackageName(String value)
Sets the value of
packageName. |
void |
setParentExtensions(Set<String> value)
Sets the value of
parentExtensions. |
void |
setParentImplementations(Set<String> value)
Sets the value of
parentImplementations. |
void |
setType(JavaType value)
Sets the value of
type. |
String |
toString() |
public JavaRawDependency()
public JavaRawDependency(boolean isAbs,
String dependencyPackageName,
JavaType javaType,
String dependencyName,
Set<String> extensions,
Set<String> implementations,
boolean nativeMth)
isAbs - the boolean telling if the java dependency is abstract or not.dependencyPackageName - the dependency package name, such as "java.lang".javaType - the dependency java type, such as "class" or "interface".dependencyName - the dependency name, such as "String".extensions - the Set of all dependency extensions full names (package + class), i.e.
classes or interfaces the dependency "extends".implementations - the Set dependency implementations full names (package + class), i.e.
interfaces the dependency "implements".nativeMth - the boolean indicating if the dependency has native methods inside.public int compareTo(JavaRawDependency j)
compareTo in interface Comparable<JavaRawDependency>public JavaRawDependency deepClone()
deepClone in interface net.sourceforge.plantumldependency.common.clone.DeepCloneable<JavaRawDependency>public String getFullName()
public String getName()
name.name.setName(String)public String getPackageName()
packageName.packageName.setPackageName(String)public Set<String> getParentExtensions()
parentExtensions.parentExtensions.setParentExtensions(Set)public Set<String> getParentImplementations()
parentImplementations.parentImplementations.setParentImplementations(Set)public JavaType getType()
type.type.setType(JavaType)public boolean hasNativeMethods()
nativeMethods.nativeMethods.setNativeMethods(boolean)public boolean isAbstract()
isAbstract.isAbstract.setAbstract(boolean)public void setAbstract(boolean value)
isAbstract.value - the isAbstract to set, can be null.isAbstract()public void setName(String value)
name.value - the name to set, can be null.getName()public void setNativeMethods(boolean value)
nativeMethods.value - the nativeMethods to set, can be null.hasNativeMethods()public void setPackageName(String value)
packageName.value - the packageName to set, can be null.getPackageName()public void setParentExtensions(Set<String> value)
parentExtensions.value - the parentExtensions to set, can be null.getParentExtensions()public void setParentImplementations(Set<String> value)
parentImplementations.value - the parentImplementations to set, can be null.getParentImplementations()public void setType(JavaType value)
type.value - the type to set, can be null.getType()Copyright © 2014 Sourceforge. All rights reserved.