public class AttributeGroupAccess
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
AttributeGroupAccess.RunType |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
cacheId |
static boolean |
DEFAULT_MLOCK |
static boolean |
DEFAULT_PRELOAD |
static java.lang.String |
DEFAULT_RUN_TYPE |
java.lang.String |
groupId |
boolean |
mlock |
boolean |
preload |
java.lang.String |
runType |
Constructor and Description |
---|
AttributeGroupAccess() |
AttributeGroupAccess(AttributeGroupAccess o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this AttributeGroupAccess.
|
static AttributeGroupAccess |
fromString(java.lang.String s)
String representation of this AttributeGroupAccess.
|
java.lang.String |
getCacheId()
For pagecache I/O type, specifies the cache ID.
|
java.lang.String |
getGroupId()
Specifies which attribute group store this access configuration applies to.
|
java.lang.String |
getRunType()
Specifies how the attribute group should be accessed at runtime.
|
AttributeGroupAccess.RunType |
getRunTypeAsEnum()
Specifies how the attribute group should be accessed at runtime.
|
static boolean |
isA(java.lang.String str,
AttributeGroupAccess.RunType item) |
boolean |
isMlock()
For RAM-based access type, specifies if the attribute group should be locked in RAM.
|
static boolean |
isOneOf(java.lang.String str,
AttributeGroupAccess.RunType... items) |
boolean |
isPreload()
For RAM-based access type, specifies if the attribute group should be loaded in RAM at startup instead of at access time.
|
AttributeGroupAccess |
makeCopy()
Creates and returns a deep copy of this AttributeGroupAccess.
|
static AttributeGroupAccess |
readFrom(java.io.InputStream is)
Read this AttributeGroupAccess from an XML fragment.
|
void |
setCacheId(java.lang.String cacheId)
For pagecache I/O type, specifies the cache ID.
|
void |
setGroupId(java.lang.String groupId)
Specifies which attribute group store this access configuration applies to.
|
void |
setMlock(boolean mlock)
For RAM-based access type, specifies if the attribute group should be locked in RAM.
|
void |
setPreload(boolean preload)
For RAM-based access type, specifies if the attribute group should be loaded in RAM at startup instead of at access time.
|
void |
setRunType(AttributeGroupAccess.RunType item)
Specifies how the attribute group should be accessed at runtime.
|
void |
setRunType(java.lang.String runType)
Specifies how the attribute group should be accessed at runtime.
|
java.lang.String |
toString()
String representation of this AttributeGroupAccess.
|
AttributeGroupAccess |
withCacheId(java.lang.String cacheId) |
AttributeGroupAccess |
withGroupId(java.lang.String groupId) |
AttributeGroupAccess |
withMlock(boolean mlock) |
AttributeGroupAccess |
withMlock(java.lang.Boolean mlock) |
AttributeGroupAccess |
withPreload(boolean preload) |
AttributeGroupAccess |
withPreload(java.lang.Boolean preload) |
AttributeGroupAccess |
withRunType(java.lang.String runType) |
void |
writeTo(java.io.OutputStream os)
Write this AttributeGroupAccess as an XML fragment
|
public java.lang.String groupId
public java.lang.String runType
public static final java.lang.String DEFAULT_RUN_TYPE
public boolean preload
public static final boolean DEFAULT_PRELOAD
public boolean mlock
public static final boolean DEFAULT_MLOCK
public java.lang.String cacheId
public AttributeGroupAccess()
public AttributeGroupAccess(AttributeGroupAccess o)
public static boolean isA(java.lang.String str, AttributeGroupAccess.RunType item)
public static boolean isOneOf(java.lang.String str, AttributeGroupAccess.RunType... items)
public void setRunType(AttributeGroupAccess.RunType item)
public AttributeGroupAccess.RunType getRunTypeAsEnum()
public void setGroupId(java.lang.String groupId)
public java.lang.String getGroupId()
public AttributeGroupAccess withGroupId(java.lang.String groupId)
public void setRunType(java.lang.String runType)
public java.lang.String getRunType()
public AttributeGroupAccess withRunType(java.lang.String runType)
public void setPreload(boolean preload)
public boolean isPreload()
public AttributeGroupAccess withPreload(boolean preload)
public AttributeGroupAccess withPreload(java.lang.Boolean preload)
public void setMlock(boolean mlock)
public boolean isMlock()
public AttributeGroupAccess withMlock(boolean mlock)
public AttributeGroupAccess withMlock(java.lang.Boolean mlock)
public void setCacheId(java.lang.String cacheId)
public java.lang.String getCacheId()
public AttributeGroupAccess withCacheId(java.lang.String cacheId)
public AttributeGroupAccess makeCopy()
public static AttributeGroupAccess 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 AttributeGroupAccess 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.