public final class ObjectClassInfo extends Object
Constructor and Description |
---|
ObjectClassInfo(String type,
Set<AttributeInfo> attrInfo,
boolean isContainer,
boolean isAuxiliary)
Public only for serialization; Use ObjectClassInfoBuilder instead.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Set<AttributeInfo> |
getAttributeInfo() |
String |
getType() |
int |
hashCode() |
boolean |
is(String name)
Determines if the 'name' matches this
ObjectClassInfo . |
boolean |
isAuxiliary()
Returns flag indicating whether this is a definition of auxiliary object class.
|
boolean |
isContainer() |
String |
toString() |
public ObjectClassInfo(String type, Set<AttributeInfo> attrInfo, boolean isContainer, boolean isAuxiliary)
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 isAuxiliary()
public Set<AttributeInfo> getAttributeInfo()
public String getType()
public boolean is(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
.Copyright © 2022. All rights reserved.