public class ContainerOwner extends Object implements Cloneable, Serializable
ContainerOwner
class lets you set or get the container owner type, as
well as the name of the form, if the owner type is a form.Modifier and Type | Field and Description |
---|---|
static int |
ALL
All containers, owned and unowned ones.
|
static int |
NONE
containers globally owned (not owned by any object)
|
static int |
SCHEMA
containers owned by a form.
|
Constructor and Description |
---|
ContainerOwner() |
ContainerOwner(int type)
construct a container owner object with the provided owner type.
|
ContainerOwner(int type,
String name)
construct a container owner object with the provided owner type and name
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self.
|
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the
provided one.
|
String |
getName()
Returns the name of the form that owns the container.
|
int |
getType()
Returns the container owner type.
|
int |
hashCode()
Returns the hash code value for this instance of the current class.
|
void |
setName(String name)
Sets the name of the form that owns the container.
|
void |
setType(int nType)
Sets the owner type.
|
String |
toString()
Returns a string description of the object.
|
public static final int NONE
public static final int ALL
public static final int SCHEMA
public ContainerOwner(int type)
public ContainerOwner()
public ContainerOwner(int type, String name)
type
- the owner typename
- the name of the form that owns the containerpublic Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public int getType()
public String getName()
public void setName(String name)
public void setType(int nType)
public boolean equals(Object obj)
public int hashCode()
? Copyright 2013 BMC Software, Inc.