Class AssemblyReference
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- microsoft.build.tasks.deployment.manifestutilities.BaseReference
-
- microsoft.build.tasks.deployment.manifestutilities.AssemblyReference
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class AssemblyReference extends BaseReference
The base .NET class managing Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyReference, Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyReference
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: Microsoft.Build.Tasks.v4.0static java.lang.String
className
Qualified class name: Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyReferencestatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description AssemblyReference()
AssemblyReference(java.lang.Object instance)
Internal constructor.AssemblyReference(java.lang.String path)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AssemblyReference
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoAssemblyReference
, a cast assert is made to check if types are compatible.AssemblyIdentity
getAssemblyIdentity()
boolean
getIsPrerequisite()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeAssemblyReferenceType
getReferenceType()
AssemblyIdentity
getXmlAssemblyIdentity()
java.lang.String
getXmlIsNative()
java.lang.String
getXmlIsPrerequisite()
void
setAssemblyIdentity(AssemblyIdentity AssemblyIdentity)
void
setIsPrerequisite(boolean IsPrerequisite)
void
setJCOInstance(JCObject instance)
void
setReferenceType(AssemblyReferenceType ReferenceType)
void
setXmlAssemblyIdentity(AssemblyIdentity XmlAssemblyIdentity)
void
setXmlIsNative(java.lang.String XmlIsNative)
void
setXmlIsPrerequisite(java.lang.String XmlIsPrerequisite)
-
Methods inherited from class microsoft.build.tasks.deployment.manifestutilities.BaseReference
getGroup, getHash, getIsOptional, getResolvedPath, getSize, getSourcePath, getTargetPath, getXmlGroup, getXmlHash, getXmlHashAlgorithm, getXmlIsOptional, getXmlPath, getXmlSize, setGroup, setHash, setIsOptional, setResolvedPath, setSize, setSourcePath, setTargetPath, setXmlGroup, setXmlHash, setXmlHashAlgorithm, setXmlIsOptional, setXmlPath, setXmlSize
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.Build.Tasks.v4.0- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.Build.Tasks.Deployment.ManifestUtilities.AssemblyReference- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AssemblyReference
public AssemblyReference(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
AssemblyReference
public AssemblyReference() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
AssemblyReference
public AssemblyReference(java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classBaseReference
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classBaseReference
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classBaseReference
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classBaseReference
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classBaseReference
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classBaseReference
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static AssemblyReference cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoAssemblyReference
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
AssemblyReference
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getIsPrerequisite
public boolean getIsPrerequisite() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setIsPrerequisite
public void setIsPrerequisite(boolean IsPrerequisite) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getAssemblyIdentity
public AssemblyIdentity getAssemblyIdentity() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAssemblyIdentity
public void setAssemblyIdentity(AssemblyIdentity AssemblyIdentity) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getXmlAssemblyIdentity
public AssemblyIdentity getXmlAssemblyIdentity() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setXmlAssemblyIdentity
public void setXmlAssemblyIdentity(AssemblyIdentity XmlAssemblyIdentity) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getReferenceType
public AssemblyReferenceType getReferenceType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setReferenceType
public void setReferenceType(AssemblyReferenceType ReferenceType) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getXmlIsNative
public java.lang.String getXmlIsNative() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setXmlIsNative
public void setXmlIsNative(java.lang.String XmlIsNative) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, NotSupportedException, ArgumentOutOfRangeException, FormatException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
NotSupportedException
ArgumentOutOfRangeException
FormatException
-
getXmlIsPrerequisite
public java.lang.String getXmlIsPrerequisite() throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, NotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException
-
setXmlIsPrerequisite
public void setXmlIsPrerequisite(java.lang.String XmlIsPrerequisite) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, NotSupportedException, ArgumentOutOfRangeException, FormatException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
CultureNotFoundException
NotSupportedException
ArgumentOutOfRangeException
FormatException
-
-