public PreferenceRootElement(@MapsTo("identifier") final String identifier, @MapsTo("category") final String category, @MapsTo("iconCss") final String iconCss, @MapsTo("bundleKey") final String bundleKey) { this.identifier = identifier; this.category = category; this.iconCss = iconCss; this.bundleKey = bundleKey; }
public FieldLabelEntry(@MapsTo("value") String value) { super(NAME, value); } }
public FieldReadOnlyEntry(@MapsTo("value") Boolean value) { super(NAME, value); } }
public FieldRequiredEntry(@MapsTo("value") Boolean value) { super(NAME, value); } }
@SuppressWarnings("unchecked") public SetConnectionTargetNodeCommand(final @MapsTo("targetNodeUUID") String targetNodeUUID, final @MapsTo("edgeUUID") String edgeUUID, final @MapsTo("magnet") Connection connection) { this.edgeUUID = PortablePreconditions.checkNotNull("edgeUUID", edgeUUID); this.targetNodeUUID = targetNodeUUID; this.connection = connection; this.lastTargetNodeUUID = null; this.lastConnection = null; }
public UserImpl( @MapsTo("name") final String name, @MapsTo("roles") final Collection<? extends Role> roles, @MapsTo("groups") final Collection<? extends Group> groups, @MapsTo("properties") final Map<String, String> properties) { this.name = name; this.roles = Collections.unmodifiableSet(new HashSet<Role>(roles)); this.groups = Collections.unmodifiableSet(new HashSet<Group>(groups)); this.properties.putAll(properties); }
public AddChildNodeCommand(final @MapsTo("parentUUID") String parentUUID, final @MapsTo("candidate") Node candidate, final @MapsTo("location") Point2D location) { this.parentUUID = PortablePreconditions.checkNotNull("parentUUID", parentUUID); this.candidate = PortablePreconditions.checkNotNull("candidate", candidate); this.location = location; }
public MavenRepositoryMetadata(final @MapsTo("id") String id, final @MapsTo("url") String url, final @MapsTo("source") MavenRepositorySource source) { this.id = PortablePreconditions.checkNotNull("id", id); this.url = PortablePreconditions.checkNotNull("url", url); this.source = PortablePreconditions.checkNotNull("source", source); }
public AddConnectorCommand(final @MapsTo("nodeUUID") String nodeUUID, final @MapsTo("edge") Edge edge, final @MapsTo("magnet") Connection connection) { this.nodeUUID = PortablePreconditions.checkNotNull("nodeUUID", nodeUUID); this.edge = PortablePreconditions.checkNotNull("edge", edge); this.connection = PortablePreconditions.checkNotNull("magnet", connection); }