protected final class HeaderDescriptor.PermittedTypeMapping extends Object
| Modifier and Type | Method and Description |
|---|---|
protected void |
enableColumns(Collection<StandardColumnDescriptor> columnList)
Sets the given list of columns as permitted for this type.
|
boolean |
equals(Object o) |
protected Set<StandardColumnDescriptor> |
getAllColumns()
Gets all permitted columns for this mapping.
|
protected Set<StandardColumnDescriptor> |
getColumnsForCreation()
Gets all permitted columns for this mapping which are not
read-only
and part-of.
These columns has to be used for creation case.
|
protected Set<StandardColumnDescriptor> |
getColumnsForUpdate()
Gets all permitted columns for this mapping which are not
read-only,
and inital-only
and unique columns.
These columns has to be used for update case.
|
protected Set<StandardColumnDescriptor> |
getPartOfColumns()
Gets all permitted columns from this mapping which are
part-of
and not
read-only.
|
protected ComposedType |
getPermittedType()
Gets the type of this mapping.
|
protected Set<StandardColumnDescriptor> |
getUniqueColumns()
Gets all permitted columns from this mapping which are
unique.
|
int |
hashCode() |
boolean |
isOnlyForUpdate() |
void |
setOnlyForUpdate(boolean onlyForUpdate) |
protected ComposedType getPermittedType()
protected void enableColumns(Collection<StandardColumnDescriptor> columnList)
columnList - list of column descriptors which are permitted for this typeprotected Set<StandardColumnDescriptor> getUniqueColumns()
protected Set<StandardColumnDescriptor> getPartOfColumns()
protected Set<StandardColumnDescriptor> getColumnsForCreation()
protected Set<StandardColumnDescriptor> getColumnsForUpdate()
protected Set<StandardColumnDescriptor> getAllColumns()
public boolean isOnlyForUpdate()
public void setOnlyForUpdate(boolean onlyForUpdate)
onlyForUpdate - the isOnlyForUpdate to setCopyright © 2017 SAP SE. All Rights Reserved.