public class AttributeGroupStore
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
AttributeGroupStore.Format |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_FORMAT |
static int |
DEFAULT_LEAF_SIZE |
java.lang.String |
format |
int |
id |
java.lang.String |
label |
int |
leafSize |
java.lang.String |
retrievableRoles |
Constructor and Description |
---|
AttributeGroupStore() |
AttributeGroupStore(AttributeGroupStore o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this AttributeGroupStore.
|
static AttributeGroupStore |
fromString(java.lang.String s)
String representation of this AttributeGroupStore.
|
java.lang.String |
getFormat()
Specifies how to persist the data on disk for this attribute group.
|
AttributeGroupStore.Format |
getFormatAsEnum()
Specifies how to persist the data on disk for this attribute group.
|
int |
getId()
A unique identifier for this attribute group.
|
java.lang.String |
getLabel()
A human readable name for this attribute group.
|
int |
getLeafSize()
If the format is SimpleRowOrientedStore, configures the leaf size (i.e., maximum IO size read per DID).
|
java.lang.String |
getRetrievableRoles()
Specifies a comma-separated list of annotations to be handled in this attribute group store.
|
static boolean |
isA(java.lang.String str,
AttributeGroupStore.Format item) |
static boolean |
isOneOf(java.lang.String str,
AttributeGroupStore.Format... items) |
AttributeGroupStore |
makeCopy()
Creates and returns a deep copy of this AttributeGroupStore.
|
static AttributeGroupStore |
readFrom(java.io.InputStream is)
Read this AttributeGroupStore from an XML fragment.
|
void |
setFormat(AttributeGroupStore.Format item)
Specifies how to persist the data on disk for this attribute group.
|
void |
setFormat(java.lang.String format)
Specifies how to persist the data on disk for this attribute group.
|
void |
setId(int id)
A unique identifier for this attribute group.
|
void |
setLabel(java.lang.String label)
A human readable name for this attribute group.
|
void |
setLeafSize(int leafSize)
If the format is SimpleRowOrientedStore, configures the leaf size (i.e., maximum IO size read per DID).
|
void |
setRetrievableRoles(java.lang.String retrievableRoles)
Specifies a comma-separated list of annotations to be handled in this attribute group store.
|
java.lang.String |
toString()
String representation of this AttributeGroupStore.
|
AttributeGroupStore |
withFormat(java.lang.String format) |
AttributeGroupStore |
withId(int id) |
AttributeGroupStore |
withId(java.lang.Integer id) |
AttributeGroupStore |
withLabel(java.lang.String label) |
AttributeGroupStore |
withLeafSize(int leafSize) |
AttributeGroupStore |
withLeafSize(java.lang.Integer leafSize) |
AttributeGroupStore |
withRetrievableRoles(java.lang.String retrievableRoles) |
void |
writeTo(java.io.OutputStream os)
Write this AttributeGroupStore as an XML fragment
|
public int id
public java.lang.String label
public java.lang.String format
public static final java.lang.String DEFAULT_FORMAT
public java.lang.String retrievableRoles
public int leafSize
public static final int DEFAULT_LEAF_SIZE
public AttributeGroupStore()
public AttributeGroupStore(AttributeGroupStore o)
public static boolean isA(java.lang.String str, AttributeGroupStore.Format item)
public static boolean isOneOf(java.lang.String str, AttributeGroupStore.Format... items)
public void setFormat(AttributeGroupStore.Format item)
public AttributeGroupStore.Format getFormatAsEnum()
public void setId(int id)
public int getId()
public AttributeGroupStore withId(int id)
public AttributeGroupStore withId(java.lang.Integer id)
public void setLabel(java.lang.String label)
public java.lang.String getLabel()
public AttributeGroupStore withLabel(java.lang.String label)
public void setFormat(java.lang.String format)
public java.lang.String getFormat()
public AttributeGroupStore withFormat(java.lang.String format)
public void setRetrievableRoles(java.lang.String retrievableRoles)
public java.lang.String getRetrievableRoles()
public AttributeGroupStore withRetrievableRoles(java.lang.String retrievableRoles)
public void setLeafSize(int leafSize)
public int getLeafSize()
public AttributeGroupStore withLeafSize(int leafSize)
public AttributeGroupStore withLeafSize(java.lang.Integer leafSize)
public AttributeGroupStore makeCopy()
public static AttributeGroupStore readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static AttributeGroupStore fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.