Style Intelligence v12.0

inetsoft.uql.asset
Class AssemblyEntry

java.lang.Object
  extended by inetsoft.uql.asset.AssemblyEntry
All Implemented Interfaces:
AssetObject, inetsoft.util.XMLSerializable, Serializable, Cloneable

public class AssemblyEntry
extends Object
implements AssetObject

Assembly entry locates an assembly.

See Also:
Serialized Form

Constructor Summary
AssemblyEntry()
          Constructor.
AssemblyEntry(String name, int type)
          Constructor.
AssemblyEntry(String name, String aname, int type)
          Constructor.
 
Method Summary
 Object clone()
          Clone this object.
 boolean equals(Object obj)
          Check if equals another object.
 String getAbsoluteName()
          Get the absolute name.
 String getName()
          Get the name.
 int getType()
          Get the type.
 AssemblyEntry getUnqualifiedEntry()
          Get an AssemblyEntry representing the unqualified name.
 int hashCode()
          Get the hash code.
 boolean isVSAssembly()
          Check if is a viewsheet assembly.
 boolean isWSAssembly()
          Check if is a worksheet assembly.
 void parseXML(Element elem)
          Method to parse an xml segment.
 String toString()
          Get the string representation.
 void writeXML(PrintWriter writer)
          Write the xml segment to print writer.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssemblyEntry

public AssemblyEntry()
Constructor.


AssemblyEntry

public AssemblyEntry(String name,
                     int type)
Constructor.


AssemblyEntry

public AssemblyEntry(String name,
                     String aname,
                     int type)
Constructor.

Method Detail

getName

public String getName()
Get the name.

Returns:
the name of the assembly.

getAbsoluteName

public String getAbsoluteName()
Get the absolute name.

Returns:
the absolute name.

getType

public int getType()
Get the type. The types are defined in AbstractSheet, e.g. TABLE_ASSET.

Returns:
the type of the assembly.

isWSAssembly

public boolean isWSAssembly()
Check if is a worksheet assembly.

Returns:
true is a worksheet assembly, false otherwise.

isVSAssembly

public boolean isVSAssembly()
Check if is a viewsheet assembly.

Returns:
true if is a viewsheet assembly, false otherwise.

toString

public String toString()
Get the string representation.

Overrides:
toString in class Object
Returns:
the string representation.

equals

public boolean equals(Object obj)
Check if equals another object.

Overrides:
equals in class Object
Returns:
true if yes, false otherwise.

hashCode

public int hashCode()
Get the hash code.

Overrides:
hashCode in class Object
Returns:
the hash code of the report entry.

writeXML

public void writeXML(PrintWriter writer)
Write the xml segment to print writer.

Specified by:
writeXML in interface inetsoft.util.XMLSerializable
Parameters:
writer - the destination print writer.

parseXML

public void parseXML(Element elem)
              throws Exception
Method to parse an xml segment.

Specified by:
parseXML in interface inetsoft.util.XMLSerializable
Parameters:
elem - the specified xml element.
Throws:
Exception

clone

public Object clone()
Clone this object.

Specified by:
clone in interface AssetObject
Overrides:
clone in class Object
Returns:
the cloned object.

getUnqualifiedEntry

public AssemblyEntry getUnqualifiedEntry()
Get an AssemblyEntry representing the unqualified name.

Returns:
the entry of the unqualified name, or null if not qualified.

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.