public class MAttribute extends Object implements ModelElement<Attribute<?>>
| Modifier and Type | Field and Description |
|---|---|
static MAttribute |
KEY
The key.
|
static MAttribute |
STAR
Star for doing count(*)
|
static MAttribute |
VALUE
The value.
|
| Constructor and Description |
|---|
MAttribute(String name)
Instantiates a new named attribute.
|
| Modifier and Type | Method and Description |
|---|---|
String |
asEhcacheAttributeString()
As ehcache attribute string.
|
Attribute<?> |
asEhcacheObject(ClassLoader loader)
Get this model attribute as an ehcache attribute.
|
boolean |
equals(Object obj) |
String |
getName()
Gets the name.
|
int |
hashCode() |
boolean |
isKey()
Checks if is key.
|
boolean |
isStar()
Checks if is star.
|
boolean |
isValue()
Checks if is value.
|
String |
toString() |
public static MAttribute KEY
public static MAttribute VALUE
public static MAttribute STAR
public MAttribute(String name)
name - the namepublic String getName()
public boolean isKey()
public boolean isValue()
public boolean isStar()
public String asEhcacheAttributeString()
public Attribute<?> asEhcacheObject(ClassLoader loader)
asEhcacheObject in interface ModelElement<Attribute<?>>Copyright © 2003–2024 Terracotta, Inc.. All rights reserved.