public final class ObjectClassInfo
extends java.lang.Object
Constructor and Description |
---|
ObjectClassInfo(java.lang.String type,
java.util.Set<AttributeInfo> attrInfo,
boolean isContainer,
boolean isEmbedded)
Public only for serialization; Use ObjectClassInfoBuilder instead.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Set<AttributeInfo> |
getAttributeInfo() |
java.lang.String |
getType() |
int |
hashCode() |
boolean |
is(java.lang.String name)
Determines if the 'name' matches this
ObjectClassInfo . |
boolean |
isContainer() |
boolean |
isEmbedded()
Returns
true if this is an embedded object class,
i.e., objects of this class are embedded in other objects. |
java.lang.String |
toString() |
public ObjectClassInfo(java.lang.String type, java.util.Set<AttributeInfo> attrInfo, boolean isContainer, boolean isEmbedded)
type
- The name of the object classattrInfo
- The attributes of the object class.isContainer
- True if this can contain other object classes.public boolean isContainer()
public boolean isEmbedded()
true
if this is an embedded object class,
i.e., objects of this class are embedded in other objects. if this is an embedded object class.
public java.util.Set<AttributeInfo> getAttributeInfo()
public java.lang.String getType()
public final boolean is(java.lang.String name)
ObjectClassInfo
.name
- case-insensitive string representation of the ObjectClassInfo's
type.true
if the case insensitive type is equal to
that of the one in this ObjectClassInfo
.public final boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object