Search in sources :

Example 1 with UnitSize

use of org.estatio.module.lease.dom.occupancy.tags.UnitSize in project estatio by estatio.

the class UnitSizeMenu method newUnitSize.

@Action(semantics = SemanticsOf.NON_IDEMPOTENT)
@MemberOrder(sequence = "1")
public UnitSize newUnitSize(final String unitSizeName) {
    UnitSize unitSize = newTransientInstance(UnitSize.class);
    unitSize.setName(unitSizeName);
    persist(unitSize);
    return unitSize;
}
Also used : UnitSize(org.estatio.module.lease.dom.occupancy.tags.UnitSize) Action(org.apache.isis.applib.annotation.Action) MemberOrder(org.apache.isis.applib.annotation.MemberOrder)

Aggregations

Action (org.apache.isis.applib.annotation.Action)1 MemberOrder (org.apache.isis.applib.annotation.MemberOrder)1 UnitSize (org.estatio.module.lease.dom.occupancy.tags.UnitSize)1