public class TypeMutabilityImpl extends ExtensionDataImpl implements TypeMutability
Constructor and Description |
---|
TypeMutabilityImpl() |
Modifier and Type | Method and Description |
---|---|
Boolean |
canCreate()
Indicates if a sub type of this type can be created.
|
Boolean |
canDelete()
Indicates if this type can be deleted.
|
Boolean |
canUpdate()
Indicates if this type can be updated.
|
void |
setCanCreate(Boolean canCreate) |
void |
setCanDelete(Boolean canDelete) |
void |
setCanUpdate(Boolean canUpdate) |
String |
toString() |
getExtensions, setExtensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExtensions, setExtensions
public Boolean canCreate()
TypeMutability
canCreate
in interface TypeMutability
true
if a sub type can be created,
false
otherwisepublic void setCanCreate(Boolean canCreate)
public Boolean canUpdate()
TypeMutability
canUpdate
in interface TypeMutability
true
if this type can be updated, false
otherwisepublic void setCanUpdate(Boolean canUpdate)
public Boolean canDelete()
TypeMutability
canDelete
in interface TypeMutability
true
if this type can be deleted, false
otherwisepublic void setCanDelete(Boolean canDelete)
public String toString()
toString
in class AbstractExtensionData
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.