Skip to content

Commit

Permalink
repository classes: removed unused <T> from RObject
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Jun 3, 2020
1 parent 953b63a commit 86da91a
Show file tree
Hide file tree
Showing 30 changed files with 116 additions and 154 deletions.
Expand Up @@ -271,7 +271,7 @@ RExtItem createOrFindExtensionItemDefinition(Class<? extends ObjectType> type, I
return extItemDictionary.createOrFindItemDefinition(propertyDefinition, false);
}

void assertExtension(RObject<?> object, RExtItem item, String... expectedValues) {
void assertExtension(RObject object, RExtItem item, String... expectedValues) {
Set<String> realValues = object.getStrings().stream()
.filter(extString -> Objects.equals(extString.getItemId(), item.getId()))
.map(ROExtString::getValue)
Expand Down
Expand Up @@ -41,7 +41,7 @@
)
@Persister(impl = MidPointJoinedPersister.class)
@ForeignKey(name = "fk_acc_cert_campaign")
public class RAccessCertificationCampaign extends RObject<AccessCertificationCampaignType> {
public class RAccessCertificationCampaign extends RObject {

public static final String TABLE_NAME = "m_acc_cert_campaign";

Expand Down
Expand Up @@ -32,7 +32,7 @@
)
@Persister(impl = MidPointJoinedPersister.class)
@ForeignKey(name = "fk_acc_cert_definition")
public class RAccessCertificationDefinition extends RObject<AccessCertificationDefinitionType> {
public class RAccessCertificationDefinition extends RObject {

public static final String TABLE_NAME = "m_acc_cert_definition";

Expand Down
Expand Up @@ -44,7 +44,7 @@
}
)
@Persister(impl = MidPointJoinedPersister.class)
public class RCase extends RObject<CaseType> {
public class RCase extends RObject {

private RPolyString nameCopy;

Expand Down
Expand Up @@ -35,7 +35,7 @@
@Table(indexes = {
@Index(name = "iConnectorNameOrig", columnList = "name_orig"),
@Index(name = "iConnectorNameNorm", columnList = "name_norm")})
public class RConnector extends RObject<ConnectorType> {
public class RConnector extends RObject {

private static final Trace LOGGER = TraceManager.getTrace(RConnector.class);
private RPolyString nameCopy;
Expand Down
Expand Up @@ -31,7 +31,7 @@
}
)
@Persister(impl = MidPointJoinedPersister.class)
public class RConnectorHost extends RObject<ConnectorHostType> {
public class RConnectorHost extends RObject {

private RPolyString nameCopy;
private String hostname;
Expand Down
Expand Up @@ -33,7 +33,7 @@
}
)
@Persister(impl = MidPointJoinedPersister.class)
public class RDashboard extends RObject<DashboardType> {
public class RDashboard extends RObject {

private static final long serialVersionUID = 1L;

Expand Down
Expand Up @@ -50,7 +50,7 @@
@Index(name = "iFocusValidTo", columnList = "validTo")
})
@Persister(impl = MidPointJoinedPersister.class)
public abstract class RFocus<T extends FocusType> extends RObject<T> {
public abstract class RFocus<T extends FocusType> extends RObject {

private Set<RObjectReference<RShadow>> linkRef; // FocusType
private Set<RObjectReference<RFocus>> personaRef; // FocusType
Expand Down
Expand Up @@ -32,7 +32,7 @@
}
)
@Persister(impl = MidPointJoinedPersister.class)
public class RForm extends RObject<FormType> {
public class RForm extends RObject {

private RPolyString nameCopy;

Expand Down
Expand Up @@ -33,7 +33,7 @@
}
)
@Persister(impl = MidPointJoinedPersister.class)
public class RFunctionLibrary extends RObject<FunctionLibraryType> {
public class RFunctionLibrary extends RObject {

private RPolyString nameCopy;

Expand Down
Expand Up @@ -36,7 +36,7 @@
}
)
@Persister(impl = MidPointJoinedPersister.class)
public class RLookupTable extends RObject<LookupTableType> {
public class RLookupTable extends RObject {

private RPolyString nameCopy;
private Set<RLookupTableRow> rows;
Expand Down
Expand Up @@ -31,7 +31,7 @@
}
)
@Persister(impl = MidPointJoinedPersister.class)
public class RNode extends RObject<NodeType> {
public class RNode extends RObject {

private RPolyString nameCopy;
private String nodeIdentifier;
Expand Down

0 comments on commit 86da91a

Please sign in to comment.