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 booleanequals(Object object)byte[]getClassByteCode()Get classByteCodeUUIDgetId()List<Type>getIncludes()Get includesString[]getJavaParentInterfaces()Get the JavaClassInfo::javaParentInterfacesintgetModifier()Gets modifier.StringgetSignature()Get the JavaClassInfo::signatureinthashCode()voidsetClassByteCode(byte[] newclassByteCode)Set classByteCodevoidsetId(UUID theid)voidsetIncludes(List<Type> newincludes)Set includesvoidsetJavaParentInterfaces(String[] newjavaParentInterfaces)Set the JavaClassInfo::javaParentInterfacesvoidsetModifier(int themodifier)Sets modifiervoidsetSignature(String newsignature)Set the JavaClassInfo::signatureStringtoString()
-
-
-
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
-
-