站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

FQN - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.migration.model22.other
Class FQN

java.lang.Object
  extended byorg.jboss.portal.migration.model22.other.FQN
All Implemented Interfaces:
java.io.Serializable

public class FQN
extends java.lang.Object
implements java.io.Serializable

Defines a reusable and generic full qualified name.

See Also:
Serialized Form

Field Summary
protected  java.lang.String[] names
          The list of objects.
 
Constructor Summary
FQN()
           
FQN(FQN base, FQN relative)
           
FQN(FQN base, java.lang.String name)
           
FQN(FQN base, java.lang.String[] relative)
           
FQN(java.lang.String name)
           
FQN(java.lang.String[] names)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName(int index)
           
 int hashCode()
           
 boolean isChildOf(FQN parent)
           
 int size()
           
 java.lang.String[] toArray()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

names

protected java.lang.String[] names
The list of objects.

Constructor Detail

FQN

public FQN()

FQN

public FQN(java.lang.String name)
    throws java.lang.IllegalArgumentException

FQN

public FQN(java.lang.String[] names)
    throws java.lang.IllegalArgumentException

FQN

public FQN(FQN base,
           java.lang.String name)
    throws java.lang.IllegalArgumentException

FQN

public FQN(FQN base,
           java.lang.String[] relative)
    throws java.lang.IllegalArgumentException

FQN

public FQN(FQN base,
           FQN relative)
    throws java.lang.IllegalArgumentException
Method Detail

size

public int size()

getName

public java.lang.String getName(int index)
                         throws java.lang.ArrayIndexOutOfBoundsException
Throws:
java.lang.ArrayIndexOutOfBoundsException

toArray

public java.lang.String[] toArray()

isChildOf

public boolean isChildOf(FQN parent)
                  throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()

toString

public java.lang.String toString()