Class JavaClassInfo
- java.lang.Object
-
- es.bsc.dataclay.util.management.classmgr.java.JavaClassInfo
-
- All Implemented Interfaces:
LanguageDependantClassInfo
public final class JavaClassInfo extends Object implements LanguageDependantClassInfo
This class represents Java language dependant information for a MetaClass.
-
-
Constructor Summary
Constructors Constructor Description JavaClassInfo()
Creates an empty JavaClassInfoJavaClassInfo(String newsignature, byte[] newclassByteCode)
Java Class Info constructor with provided specifications and IDs
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
byte[]
getClassByteCode()
Get classByteCodeUUID
getId()
List<Type>
getIncludes()
Get includesString[]
getJavaParentInterfaces()
Get the JavaClassInfo::javaParentInterfacesint
getModifier()
Gets modifier.String
getSignature()
Get the JavaClassInfo::signatureint
hashCode()
void
setClassByteCode(byte[] newclassByteCode)
Set classByteCodevoid
setId(UUID theid)
void
setIncludes(List<Type> newincludes)
Set includesvoid
setJavaParentInterfaces(String[] newjavaParentInterfaces)
Set the JavaClassInfo::javaParentInterfacesvoid
setModifier(int themodifier)
Sets modifiervoid
setSignature(String newsignature)
Set the JavaClassInfo::signatureString
toString()
-
-
-
Constructor Detail
-
JavaClassInfo
public JavaClassInfo()
Creates an empty JavaClassInfo
-
JavaClassInfo
public JavaClassInfo(String newsignature, byte[] newclassByteCode)
Java Class Info constructor with provided specifications and IDs- Parameters:
newsignature
- Signature of the classnewclassByteCode
- The bytecode of the class.
-
-
Method Detail
-
getSignature
public String getSignature()
Get the JavaClassInfo::signature- Returns:
- the signature
-
setSignature
public void setSignature(String newsignature)
Set the JavaClassInfo::signature- Parameters:
newsignature
- the signature to set
-
getJavaParentInterfaces
public String[] getJavaParentInterfaces()
Get the JavaClassInfo::javaParentInterfaces- Returns:
- the javaParentInterfaces
-
setJavaParentInterfaces
public void setJavaParentInterfaces(String[] newjavaParentInterfaces)
Set the JavaClassInfo::javaParentInterfaces- Parameters:
newjavaParentInterfaces
- the javaParentInterfaces to set
-
getClassByteCode
public byte[] getClassByteCode()
Get classByteCode- Returns:
- the classByteCode
-
setClassByteCode
public void setClassByteCode(byte[] newclassByteCode)
Set classByteCode- Parameters:
newclassByteCode
- the classByteCode to set
-
getId
public UUID getId()
- Returns:
- the id
-
setId
public void setId(UUID theid)
- Parameters:
theid
- the id to set
-
getModifier
public int getModifier()
Gets modifier.- Returns:
- the modifier
-
setModifier
public void setModifier(int themodifier)
Sets modifier- Parameters:
themodifier
- the modifier to set
-
-