当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
FQN - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.migration.model20.other
Class FQN
java.lang.Object
org.jboss.portal.migration.model20.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.
- Version:
- $Revision: 5449 $
- Author:
- Julien Viet
- See Also:
- Serialized Form
Field Summary |
private static java.lang.String[] |
EMPTY_ARRAY
|
private int |
hashCode
The cached hashcode. |
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)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
EMPTY_ARRAY
private static final java.lang.String[] EMPTY_ARRAY
names
protected java.lang.String[] names
- The list of objects.
hashCode
private int hashCode
- The cached hashcode.
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
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()
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
readObject
private void readObject(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException