cdc.applic.dictionaries.edit.EnNamingConvention Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdc-applic-dictionaries-edit Show documentation
Show all versions of cdc-applic-dictionaries-edit Show documentation
Applicabilities Dictionaries Edition.
package cdc.applic.dictionaries.edit;
public final class EnNamingConvention extends EnAbstractOwnedElement
implements EnNameItem {
public static final String KIND = "NamingConvention";
private String name;
protected EnNamingConvention(Builder builder) {
super(builder);
this.name = builder.name;
addToOwner();
}
@Override
public String getKind() {
return KIND;
}
@Override
public EnRef getRef() {
return getRef(EnNamingConvention.class);
}
@Override
public String getName() {
return name;
}
@Override
public void setName(String name) {
this.name = name;
fireSemanticChange(EnNames.NAME);
}
static Builder builder(EnRegistry owner) {
return new Builder(owner);
}
public static final class Builder
extends EnAbstractOwnedElement.Builder
implements EnNameBuilding {
private String name;
protected Builder(EnRegistry owner) {
super(owner);
}
@Override
public Class getBuiltClass() {
return EnNamingConvention.class;
}
@Override
public Builder name(String name) {
this.name = name;
return self();
}
@Override
public EnNamingConvention build() {
return wrap(new EnNamingConvention(this));
}
}
}