package ua.com.fielden.platform.sample.domain;

import org.junit.Ignore;

import ua.com.fielden.platform.entity.AbstractEntity;
import ua.com.fielden.platform.entity.annotation.DescTitle;
import ua.com.fielden.platform.entity.annotation.IsProperty;
import ua.com.fielden.platform.entity.annotation.KeyType;
import ua.com.fielden.platform.entity.annotation.MapEntityTo;
import ua.com.fielden.platform.entity.annotation.MapTo;
import ua.com.fielden.platform.entity.annotation.Observable;
import ua.com.fielden.platform.entity.annotation.Title;
import ua.com.fielden.platform.entity.validation.annotation.CompanionObject;

@KeyType(String.class)
@MapEntityTo
@DescTitle("Description")
@Ignore
@CompanionObject(ITgBogie.class)
public class TgBogie extends AbstractEntity<String> {
    private static final long serialVersionUID = 1L;

    protected TgBogie() {
    }

    @IsProperty
    @MapTo
    @Title(value = "Location", desc = "Location")
    private TgBogieLocation location;

    @Observable
    public TgBogie setLocation(final TgBogieLocation location) {
	this.location = location;
	return this;
    }

    public TgBogieLocation getLocation() {
	return location;
    }
}
@@ -238,24 +238,83 @@
 IsProperty;%0A
+import ua.com.fielden.platform.entity.annotation.KeyTitle;%0A
 import ua.co
@@ -734,16 +734,35 @@
 ption%22)%0A
+@KeyTitle(%22Bogie%22)%0A
 @Ignore%0A

Provided annotation KeyTitle.