@Entity @JPAJSONAttributableCheck public class JPAJSONAnyObject extends JPAAnyObject implements JSONAttributable<AnyObject>, AnyObject
TABLE
LOG
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
Constructor and Description |
---|
JPAJSONAnyObject() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(APlainAttr attr) |
boolean |
add(JSONPlainAttr<AnyObject> attr) |
Optional<? extends APlainAttr> |
getPlainAttr(String plainSchema)
Returns the plain attribute for this instance and the given schema name.s
|
Optional<? extends APlainAttr> |
getPlainAttr(String plainSchema,
Membership<?> membership)
Returns the plain attribute for this instance, the given schema name and the given membership -
if found,
NULL otherwise. |
List<JPAJSONAPlainAttr> |
getPlainAttrList() |
List<? extends APlainAttr> |
getPlainAttrs()
Returns the plain attributes for this instance.
|
String |
getPlainAttrsJSON() |
protected List<? extends APlainAttr> |
internalGetPlainAttrs() |
boolean |
remove(AMembership membership) |
boolean |
remove(APlainAttr attr) |
void |
setPlainAttrsJSON(String plainAttrs) |
add, add, add, add, getAuxClasses, getMemberships, getName, getRelationship, getRelationships, getResources, getType, setName, setType
getMembership, getPlainAttrs, getPlainAttrs, getRelationships, getRelationships
getRealm, getStatus, setRealm, setStatus
getCreationDate, getCreator, getLastChangeDate, getLastModifier, setCreationDate, setCreator, setLastChangeDate, setLastModifier
getKey, setKey
checkImplementationType, checkType, equals, hashCode, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getName, setName
add, add, getMembership, getMemberships, getPlainAttrs, getPlainAttrs, getRelationship, getRelationships, getRelationships, getRelationships
add, add, getAuxClasses, getRealm, getResources, getStatus, getType, setRealm, setStatus, setType
getCreationDate, getCreator, getLastChangeDate, getLastModifier, setCreationDate, setCreator, setLastChangeDate, setLastModifier
public String getPlainAttrsJSON()
getPlainAttrsJSON
in interface JSONAttributable<AnyObject>
public void setPlainAttrsJSON(String plainAttrs)
setPlainAttrsJSON
in interface JSONAttributable<AnyObject>
public List<JPAJSONAPlainAttr> getPlainAttrList()
getPlainAttrList
in interface JSONAttributable<AnyObject>
public boolean add(JSONPlainAttr<AnyObject> attr)
add
in interface JSONAttributable<AnyObject>
public boolean add(APlainAttr attr)
add
in interface Attributable<APlainAttr>
add
in class JPAAnyObject
public boolean remove(APlainAttr attr)
remove
in interface Attributable<APlainAttr>
remove
in class AbstractGroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
protected List<? extends APlainAttr> internalGetPlainAttrs()
internalGetPlainAttrs
in class JPAAnyObject
public List<? extends APlainAttr> getPlainAttrs()
Attributable
getPlainAttrs
in interface Attributable<APlainAttr>
getPlainAttrs
in class AbstractGroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
public Optional<? extends APlainAttr> getPlainAttr(String plainSchema)
Attributable
getPlainAttr
in interface Attributable<APlainAttr>
getPlainAttr
in class AbstractGroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
plainSchema
- plain schema namepublic Optional<? extends APlainAttr> getPlainAttr(String plainSchema, Membership<?> membership)
GroupableRelatable
NULL
otherwise.getPlainAttr
in interface GroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
getPlainAttr
in class AbstractGroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
plainSchema
- plain schema namemembership
- membershippublic boolean remove(AMembership membership)
remove
in interface GroupableRelatable<AnyObject,AMembership,APlainAttr,AnyObject,ARelationship>
remove
in class JPAAnyObject
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.