blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 7 332 | content_id stringlengths 40 40 | detected_licenses listlengths 0 50 | license_type stringclasses 2
values | repo_name stringlengths 7 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 557
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 5.85k 684M ⌀ | star_events_count int64 0 77.7k | fork_events_count int64 0 48k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 82
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 5.41M | extension stringclasses 11
values | content stringlengths 7 5.41M | authors listlengths 1 1 | author stringlengths 0 161 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
25b3f8c4b58fe9523f3c70b8baadf575814ac3bd | aa88879edba74f92fd5d51bc69dbc902977e166c | /src/de/solti/fun/graph/ui/GraphPanel.java | d21114a05f55b981afb05b9a1d5e71a5f8398350 | [
"Apache-2.0"
] | permissive | AndreasRoggeSolti/graph-fun | 7d31b126740d6fb2e4f46d63d60551abdd59e4b7 | 6385b3afc696acf9ea89af0c70491ec21ea652e0 | refs/heads/master | 2021-01-12T03:57:25.417227 | 2017-02-08T08:43:10 | 2017-02-08T08:43:10 | 81,302,528 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,980 | java | package de.solti.fun.graph.ui;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.geom.Point2D;
import java.util.Observable;
import java.util.Observer;
import javax.swing.JButton;
import javax.swing.JPanel;
import de.solti.fun.graph.layout.GraphLayouter;
import de.solti.fun.graph.model.WeightedEdge;
public class GraphPanel<V,E> extends JPanel implements Observer, ActionListener {
private static final long serialVersionUID = 7999461315673570986L;
private GraphLayouter<V,E> layouter;
private boolean showEdges = true;
public GraphPanel(GraphLayouter<V,E> layouter){
this.layouter = layouter;
this.layouter.addObserver(this);
this.setPreferredSize(new Dimension(GraphLayouter.SIZE,GraphLayouter.SIZE));
}
@Override
protected void paintComponent(Graphics g) {
super.paintComponent(g);
Graphics2D g2 = (Graphics2D) g;
g2.setColor(Color.WHITE);
g2.fillRect(0, 0, getWidth(), getHeight());
g2.setColor(Color.BLACK);
if (layouter != null){
// draw the graph nodes at the current positions
for (V vertex : layouter.getGraph().vertexSet()){
if (vertex.toString().startsWith("a")){
g.setColor(Color.BLUE);
} else if (vertex.toString().startsWith("b")){
g.setColor(Color.RED);
} else if (vertex.toString().startsWith("c")){
g.setColor(Color.GREEN);
} else if (vertex.toString().startsWith("d")){
g.setColor(Color.ORANGE);
} else {
g.setColor(Color.BLACK);
}
g2.drawString(vertex.toString(), (int)layouter.getXPos(vertex)-5, (int)layouter.getYPos(vertex)+5);
}
if (showEdges){
double dist = 0.15;
for (E edge : layouter.getGraph().edgeSet()){
if (edge instanceof WeightedEdge){
WeightedEdge we = (WeightedEdge) edge;
// draw 1 / 3rd of the edge in the middle of the connection
V s = layouter.getGraph().getEdgeSource(edge);
V t = layouter.getGraph().getEdgeTarget(edge);
Double xs = layouter.getXPos(s);
Double ys = layouter.getYPos(s);
Double xt = layouter.getXPos(t);
Double yt = layouter.getYPos(t);
Point2D.Double vector = new Point2D.Double(xt-xs, yt-ys);
if (we.isCrossing()){
g2.setColor(Color.RED);
g2.setStroke(new BasicStroke(2f));
} else {
if (we.isCorrect()){
g2.setColor(Color.GREEN.darker());
} else {
g2.setColor(Color.BLACK);
}
g2.setStroke(new BasicStroke(1f));
}
g2.drawLine((int)(xs+dist*vector.x), (int)(ys+dist*vector.y), (int)(xt-dist*vector.x), (int)(yt-dist*vector.y));
}
}
}
}
}
@Override
public void update(Observable o, Object arg) {
this.revalidate();
this.repaint();
}
@Override
public void actionPerformed(ActionEvent arg0) {
// TODO Auto-generated method stub
}
}
| [
"andreas@solti.de"
] | andreas@solti.de |
0b4d8c9280fc0d18d72ad6c06d0d5346361fa0e0 | dde804bed2655d40ce4cf4fb65701e652415b7d1 | /ebaysdkcore/src/main/java/com/ebay/soap/eBLBaseComponents/EBayAPIInterface.java | b99e44ec24b4290fde5e97f41a48da9b5aa7ad7a | [] | no_license | mamthal/getItemJava | ceccf4a8bab67bab5e9e8a37d60af095f847de44 | d7a1bcc8c7a1f72728973c799973e86c435a6047 | refs/heads/master | 2016-09-05T23:39:46.495096 | 2014-04-21T18:19:21 | 2014-04-21T18:19:21 | 19,001,704 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 105,461 | java |
package com.ebay.soap.eBLBaseComponents;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.xml.bind.annotation.XmlSeeAlso;
/**
* This class was generated by the JAX-WS RI.
* JAX-WS RI 2.1.4-b01-
* Generated source version: 2.1
*
*/
@WebService(name = "eBayAPIInterface", targetNamespace = "urn:ebay:apis:eBLBaseComponents")
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
@XmlSeeAlso({
ObjectFactory.class
})
public interface EBayAPIInterface {
/**
*
* @param addDisputeRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.AddDisputeResponseType
*/
@WebMethod(operationName = "AddDispute")
@WebResult(name = "AddDisputeResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddDisputeResponse")
public AddDisputeResponseType addDispute(
@WebParam(name = "AddDisputeRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddDisputeRequest")
AddDisputeRequestType addDisputeRequest);
/**
*
* @param addDisputeResponseRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.AddDisputeResponseResponseType
*/
@WebMethod(operationName = "AddDisputeResponse")
@WebResult(name = "AddDisputeResponseResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddDisputeResponseResponse")
public AddDisputeResponseResponseType addDisputeResponse(
@WebParam(name = "AddDisputeResponseRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddDisputeResponseRequest")
AddDisputeResponseRequestType addDisputeResponseRequest);
/**
*
* @param addFixedPriceItemRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.AddFixedPriceItemResponseType
*/
@WebMethod(operationName = "AddFixedPriceItem")
@WebResult(name = "AddFixedPriceItemResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddFixedPriceItemResponse")
public AddFixedPriceItemResponseType addFixedPriceItem(
@WebParam(name = "AddFixedPriceItemRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddFixedPriceItemRequest")
AddFixedPriceItemRequestType addFixedPriceItemRequest);
/**
*
* @param addItemRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.AddItemResponseType
*/
@WebMethod(operationName = "AddItem")
@WebResult(name = "AddItemResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddItemResponse")
public AddItemResponseType addItem(
@WebParam(name = "AddItemRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddItemRequest")
AddItemRequestType addItemRequest);
/**
*
* @param addItemFromSellingManagerTemplateRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.AddItemFromSellingManagerTemplateResponseType
*/
@WebMethod(operationName = "AddItemFromSellingManagerTemplate")
@WebResult(name = "AddItemFromSellingManagerTemplateResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddItemFromSellingManagerTemplateResponse")
public AddItemFromSellingManagerTemplateResponseType addItemFromSellingManagerTemplate(
@WebParam(name = "AddItemFromSellingManagerTemplateRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddItemFromSellingManagerTemplateRequest")
AddItemFromSellingManagerTemplateRequestType addItemFromSellingManagerTemplateRequest);
/**
*
* @param addItemsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.AddItemsResponseType
*/
@WebMethod(operationName = "AddItems")
@WebResult(name = "AddItemsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddItemsResponse")
public AddItemsResponseType addItems(
@WebParam(name = "AddItemsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddItemsRequest")
AddItemsRequestType addItemsRequest);
/**
*
* @param addMemberMessageAAQToPartnerRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.AddMemberMessageAAQToPartnerResponseType
*/
@WebMethod(operationName = "AddMemberMessageAAQToPartner")
@WebResult(name = "AddMemberMessageAAQToPartnerResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddMemberMessageAAQToPartnerResponse")
public AddMemberMessageAAQToPartnerResponseType addMemberMessageAAQToPartner(
@WebParam(name = "AddMemberMessageAAQToPartnerRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddMemberMessageAAQToPartnerRequest")
AddMemberMessageAAQToPartnerRequestType addMemberMessageAAQToPartnerRequest);
/**
*
* @param addMemberMessageRTQRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.AddMemberMessageRTQResponseType
*/
@WebMethod(operationName = "AddMemberMessageRTQ")
@WebResult(name = "AddMemberMessageRTQResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddMemberMessageRTQResponse")
public AddMemberMessageRTQResponseType addMemberMessageRTQ(
@WebParam(name = "AddMemberMessageRTQRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddMemberMessageRTQRequest")
AddMemberMessageRTQRequestType addMemberMessageRTQRequest);
/**
*
* @param addMemberMessagesAAQToBidderRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.AddMemberMessagesAAQToBidderResponseType
*/
@WebMethod(operationName = "AddMemberMessagesAAQToBidder")
@WebResult(name = "AddMemberMessagesAAQToBidderResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddMemberMessagesAAQToBidderResponse")
public AddMemberMessagesAAQToBidderResponseType addMemberMessagesAAQToBidder(
@WebParam(name = "AddMemberMessagesAAQToBidderRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddMemberMessagesAAQToBidderRequest")
AddMemberMessagesAAQToBidderRequestType addMemberMessagesAAQToBidderRequest);
/**
*
* @param addOrderRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.AddOrderResponseType
*/
@WebMethod(operationName = "AddOrder")
@WebResult(name = "AddOrderResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddOrderResponse")
public AddOrderResponseType addOrder(
@WebParam(name = "AddOrderRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddOrderRequest")
AddOrderRequestType addOrderRequest);
/**
*
* @param addSecondChanceItemRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.AddSecondChanceItemResponseType
*/
@WebMethod(operationName = "AddSecondChanceItem")
@WebResult(name = "AddSecondChanceItemResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddSecondChanceItemResponse")
public AddSecondChanceItemResponseType addSecondChanceItem(
@WebParam(name = "AddSecondChanceItemRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddSecondChanceItemRequest")
AddSecondChanceItemRequestType addSecondChanceItemRequest);
/**
*
* @param addSellingManagerInventoryFolderRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.AddSellingManagerInventoryFolderResponseType
*/
@WebMethod(operationName = "AddSellingManagerInventoryFolder")
@WebResult(name = "AddSellingManagerInventoryFolderResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddSellingManagerInventoryFolderResponse")
public AddSellingManagerInventoryFolderResponseType addSellingManagerInventoryFolder(
@WebParam(name = "AddSellingManagerInventoryFolderRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddSellingManagerInventoryFolderRequest")
AddSellingManagerInventoryFolderRequestType addSellingManagerInventoryFolderRequest);
/**
*
* @param addSellingManagerProductRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.AddSellingManagerProductResponseType
*/
@WebMethod(operationName = "AddSellingManagerProduct")
@WebResult(name = "AddSellingManagerProductResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddSellingManagerProductResponse")
public AddSellingManagerProductResponseType addSellingManagerProduct(
@WebParam(name = "AddSellingManagerProductRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddSellingManagerProductRequest")
AddSellingManagerProductRequestType addSellingManagerProductRequest);
/**
*
* @param addSellingManagerTemplateRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.AddSellingManagerTemplateResponseType
*/
@WebMethod(operationName = "AddSellingManagerTemplate")
@WebResult(name = "AddSellingManagerTemplateResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddSellingManagerTemplateResponse")
public AddSellingManagerTemplateResponseType addSellingManagerTemplate(
@WebParam(name = "AddSellingManagerTemplateRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddSellingManagerTemplateRequest")
AddSellingManagerTemplateRequestType addSellingManagerTemplateRequest);
/**
*
* @param addToItemDescriptionRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.AddToItemDescriptionResponseType
*/
@WebMethod(operationName = "AddToItemDescription")
@WebResult(name = "AddToItemDescriptionResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddToItemDescriptionResponse")
public AddToItemDescriptionResponseType addToItemDescription(
@WebParam(name = "AddToItemDescriptionRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddToItemDescriptionRequest")
AddToItemDescriptionRequestType addToItemDescriptionRequest);
/**
*
* @param addToWatchListRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.AddToWatchListResponseType
*/
@WebMethod(operationName = "AddToWatchList")
@WebResult(name = "AddToWatchListResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddToWatchListResponse")
public AddToWatchListResponseType addToWatchList(
@WebParam(name = "AddToWatchListRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddToWatchListRequest")
AddToWatchListRequestType addToWatchListRequest);
/**
*
* @param addTransactionConfirmationItemRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.AddTransactionConfirmationItemResponseType
*/
@WebMethod(operationName = "AddTransactionConfirmationItem")
@WebResult(name = "AddTransactionConfirmationItemResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddTransactionConfirmationItemResponse")
public AddTransactionConfirmationItemResponseType addTransactionConfirmationItem(
@WebParam(name = "AddTransactionConfirmationItemRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "AddTransactionConfirmationItemRequest")
AddTransactionConfirmationItemRequestType addTransactionConfirmationItemRequest);
/**
*
* @param completeSaleRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.CompleteSaleResponseType
*/
@WebMethod(operationName = "CompleteSale")
@WebResult(name = "CompleteSaleResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "CompleteSaleResponse")
public CompleteSaleResponseType completeSale(
@WebParam(name = "CompleteSaleRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "CompleteSaleRequest")
CompleteSaleRequestType completeSaleRequest);
/**
*
* @param confirmIdentityRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.ConfirmIdentityResponseType
*/
@WebMethod(operationName = "ConfirmIdentity")
@WebResult(name = "ConfirmIdentityResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ConfirmIdentityResponse")
public ConfirmIdentityResponseType confirmIdentity(
@WebParam(name = "ConfirmIdentityRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ConfirmIdentityRequest")
ConfirmIdentityRequestType confirmIdentityRequest);
/**
*
* @param deleteMyMessagesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.DeleteMyMessagesResponseType
*/
@WebMethod(operationName = "DeleteMyMessages")
@WebResult(name = "DeleteMyMessagesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "DeleteMyMessagesResponse")
public DeleteMyMessagesResponseType deleteMyMessages(
@WebParam(name = "DeleteMyMessagesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "DeleteMyMessagesRequest")
DeleteMyMessagesRequestType deleteMyMessagesRequest);
/**
*
* @param deleteSellingManagerInventoryFolderRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.DeleteSellingManagerInventoryFolderResponseType
*/
@WebMethod(operationName = "DeleteSellingManagerInventoryFolder")
@WebResult(name = "DeleteSellingManagerInventoryFolderResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "DeleteSellingManagerInventoryFolderResponse")
public DeleteSellingManagerInventoryFolderResponseType deleteSellingManagerInventoryFolder(
@WebParam(name = "DeleteSellingManagerInventoryFolderRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "DeleteSellingManagerInventoryFolderRequest")
DeleteSellingManagerInventoryFolderRequestType deleteSellingManagerInventoryFolderRequest);
/**
*
* @param deleteSellingManagerItemAutomationRuleRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.DeleteSellingManagerItemAutomationRuleResponseType
*/
@WebMethod(operationName = "DeleteSellingManagerItemAutomationRule")
@WebResult(name = "DeleteSellingManagerItemAutomationRuleResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "DeleteSellingManagerItemAutomationRuleResponse")
public DeleteSellingManagerItemAutomationRuleResponseType deleteSellingManagerItemAutomationRule(
@WebParam(name = "DeleteSellingManagerItemAutomationRuleRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "DeleteSellingManagerItemAutomationRuleRequest")
DeleteSellingManagerItemAutomationRuleRequestType deleteSellingManagerItemAutomationRuleRequest);
/**
*
* @param deleteSellingManagerProductRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.DeleteSellingManagerProductResponseType
*/
@WebMethod(operationName = "DeleteSellingManagerProduct")
@WebResult(name = "DeleteSellingManagerProductResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "DeleteSellingManagerProductResponse")
public DeleteSellingManagerProductResponseType deleteSellingManagerProduct(
@WebParam(name = "DeleteSellingManagerProductRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "DeleteSellingManagerProductRequest")
DeleteSellingManagerProductRequestType deleteSellingManagerProductRequest);
/**
*
* @param deleteSellingManagerTemplateRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.DeleteSellingManagerTemplateResponseType
*/
@WebMethod(operationName = "DeleteSellingManagerTemplate")
@WebResult(name = "DeleteSellingManagerTemplateResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "DeleteSellingManagerTemplateResponse")
public DeleteSellingManagerTemplateResponseType deleteSellingManagerTemplate(
@WebParam(name = "DeleteSellingManagerTemplateRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "DeleteSellingManagerTemplateRequest")
DeleteSellingManagerTemplateRequestType deleteSellingManagerTemplateRequest);
/**
*
* @param deleteSellingManagerTemplateAutomationRuleRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.DeleteSellingManagerTemplateAutomationRuleResponseType
*/
@WebMethod(operationName = "DeleteSellingManagerTemplateAutomationRule")
@WebResult(name = "DeleteSellingManagerTemplateAutomationRuleResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "DeleteSellingManagerTemplateAutomationRuleResponse")
public DeleteSellingManagerTemplateAutomationRuleResponseType deleteSellingManagerTemplateAutomationRule(
@WebParam(name = "DeleteSellingManagerTemplateAutomationRuleRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "DeleteSellingManagerTemplateAutomationRuleRequest")
DeleteSellingManagerTemplateAutomationRuleRequestType deleteSellingManagerTemplateAutomationRuleRequest);
/**
*
* @param disableUnpaidItemAssistanceRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.DisableUnpaidItemAssistanceResponseType
*/
@WebMethod(operationName = "DisableUnpaidItemAssistance")
@WebResult(name = "DisableUnpaidItemAssistanceResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "DisableUnpaidItemAssistanceResponse")
public DisableUnpaidItemAssistanceResponseType disableUnpaidItemAssistance(
@WebParam(name = "DisableUnpaidItemAssistanceRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "DisableUnpaidItemAssistanceRequest")
DisableUnpaidItemAssistanceRequestType disableUnpaidItemAssistanceRequest);
/**
*
* @param endFixedPriceItemRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.EndFixedPriceItemResponseType
*/
@WebMethod(operationName = "EndFixedPriceItem")
@WebResult(name = "EndFixedPriceItemResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "EndFixedPriceItemResponse")
public EndFixedPriceItemResponseType endFixedPriceItem(
@WebParam(name = "EndFixedPriceItemRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "EndFixedPriceItemRequest")
EndFixedPriceItemRequestType endFixedPriceItemRequest);
/**
*
* @param endItemRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.EndItemResponseType
*/
@WebMethod(operationName = "EndItem")
@WebResult(name = "EndItemResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "EndItemResponse")
public EndItemResponseType endItem(
@WebParam(name = "EndItemRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "EndItemRequest")
EndItemRequestType endItemRequest);
/**
*
* @param endItemsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.EndItemsResponseType
*/
@WebMethod(operationName = "EndItems")
@WebResult(name = "EndItemsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "EndItemsResponse")
public EndItemsResponseType endItems(
@WebParam(name = "EndItemsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "EndItemsRequest")
EndItemsRequestType endItemsRequest);
/**
*
* @param extendSiteHostedPicturesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.ExtendSiteHostedPicturesResponseType
*/
@WebMethod(operationName = "ExtendSiteHostedPictures")
@WebResult(name = "ExtendSiteHostedPicturesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ExtendSiteHostedPicturesResponse")
public ExtendSiteHostedPicturesResponseType extendSiteHostedPictures(
@WebParam(name = "ExtendSiteHostedPicturesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ExtendSiteHostedPicturesRequest")
ExtendSiteHostedPicturesRequestType extendSiteHostedPicturesRequest);
/**
*
* @param fetchTokenRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.FetchTokenResponseType
*/
@WebMethod(operationName = "FetchToken")
@WebResult(name = "FetchTokenResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "FetchTokenResponse")
public FetchTokenResponseType fetchToken(
@WebParam(name = "FetchTokenRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "FetchTokenRequest")
FetchTokenRequestType fetchTokenRequest);
/**
*
* @param getAccountRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetAccountResponseType
*/
@WebMethod(operationName = "GetAccount")
@WebResult(name = "GetAccountResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetAccountResponse")
public GetAccountResponseType getAccount(
@WebParam(name = "GetAccountRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetAccountRequest")
GetAccountRequestType getAccountRequest);
/**
*
* @param getAdFormatLeadsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetAdFormatLeadsResponseType
*/
@WebMethod(operationName = "GetAdFormatLeads")
@WebResult(name = "GetAdFormatLeadsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetAdFormatLeadsResponse")
public GetAdFormatLeadsResponseType getAdFormatLeads(
@WebParam(name = "GetAdFormatLeadsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetAdFormatLeadsRequest")
GetAdFormatLeadsRequestType getAdFormatLeadsRequest);
/**
*
* @param getAllBiddersRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetAllBiddersResponseType
*/
@WebMethod(operationName = "GetAllBidders")
@WebResult(name = "GetAllBiddersResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetAllBiddersResponse")
public GetAllBiddersResponseType getAllBidders(
@WebParam(name = "GetAllBiddersRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetAllBiddersRequest")
GetAllBiddersRequestType getAllBiddersRequest);
/**
*
* @param getApiAccessRulesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetApiAccessRulesResponseType
*/
@WebMethod(operationName = "GetApiAccessRules")
@WebResult(name = "GetApiAccessRulesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetApiAccessRulesResponse")
public GetApiAccessRulesResponseType getApiAccessRules(
@WebParam(name = "GetApiAccessRulesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetApiAccessRulesRequest")
GetApiAccessRulesRequestType getApiAccessRulesRequest);
/**
*
* @param getAttributesCSRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetAttributesCSResponseType
*/
@WebMethod(operationName = "GetAttributesCS")
@WebResult(name = "GetAttributesCSResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetAttributesCSResponse")
public GetAttributesCSResponseType getAttributesCS(
@WebParam(name = "GetAttributesCSRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetAttributesCSRequest")
GetAttributesCSRequestType getAttributesCSRequest);
/**
*
* @param getAttributesXSLRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetAttributesXSLResponseType
*/
@WebMethod(operationName = "GetAttributesXSL")
@WebResult(name = "GetAttributesXSLResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetAttributesXSLResponse")
public GetAttributesXSLResponseType getAttributesXSL(
@WebParam(name = "GetAttributesXSLRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetAttributesXSLRequest")
GetAttributesXSLRequestType getAttributesXSLRequest);
/**
*
* @param getBestOffersRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetBestOffersResponseType
*/
@WebMethod(operationName = "GetBestOffers")
@WebResult(name = "GetBestOffersResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetBestOffersResponse")
public GetBestOffersResponseType getBestOffers(
@WebParam(name = "GetBestOffersRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetBestOffersRequest")
GetBestOffersRequestType getBestOffersRequest);
/**
*
* @param getBidderListRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetBidderListResponseType
*/
@WebMethod(operationName = "GetBidderList")
@WebResult(name = "GetBidderListResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetBidderListResponse")
public GetBidderListResponseType getBidderList(
@WebParam(name = "GetBidderListRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetBidderListRequest")
GetBidderListRequestType getBidderListRequest);
/**
*
* @param getCategoriesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetCategoriesResponseType
*/
@WebMethod(operationName = "GetCategories")
@WebResult(name = "GetCategoriesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetCategoriesResponse")
public GetCategoriesResponseType getCategories(
@WebParam(name = "GetCategoriesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetCategoriesRequest")
GetCategoriesRequestType getCategoriesRequest);
/**
*
* @param getCategory2CSRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetCategory2CSResponseType
*/
@WebMethod(operationName = "GetCategory2CS")
@WebResult(name = "GetCategory2CSResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetCategory2CSResponse")
public GetCategory2CSResponseType getCategory2CS(
@WebParam(name = "GetCategory2CSRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetCategory2CSRequest")
GetCategory2CSRequestType getCategory2CSRequest);
/**
*
* @param getCategoryFeaturesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetCategoryFeaturesResponseType
*/
@WebMethod(operationName = "GetCategoryFeatures")
@WebResult(name = "GetCategoryFeaturesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetCategoryFeaturesResponse")
public GetCategoryFeaturesResponseType getCategoryFeatures(
@WebParam(name = "GetCategoryFeaturesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetCategoryFeaturesRequest")
GetCategoryFeaturesRequestType getCategoryFeaturesRequest);
/**
*
* @param getCategoryMappingsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetCategoryMappingsResponseType
*/
@WebMethod(operationName = "GetCategoryMappings")
@WebResult(name = "GetCategoryMappingsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetCategoryMappingsResponse")
public GetCategoryMappingsResponseType getCategoryMappings(
@WebParam(name = "GetCategoryMappingsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetCategoryMappingsRequest")
GetCategoryMappingsRequestType getCategoryMappingsRequest);
/**
*
* @param getCategorySpecificsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetCategorySpecificsResponseType
*/
@WebMethod(operationName = "GetCategorySpecifics")
@WebResult(name = "GetCategorySpecificsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetCategorySpecificsResponse")
public GetCategorySpecificsResponseType getCategorySpecifics(
@WebParam(name = "GetCategorySpecificsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetCategorySpecificsRequest")
GetCategorySpecificsRequestType getCategorySpecificsRequest);
/**
*
* @param getChallengeTokenRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetChallengeTokenResponseType
*/
@WebMethod(operationName = "GetChallengeToken")
@WebResult(name = "GetChallengeTokenResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetChallengeTokenResponse")
public GetChallengeTokenResponseType getChallengeToken(
@WebParam(name = "GetChallengeTokenRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetChallengeTokenRequest")
GetChallengeTokenRequestType getChallengeTokenRequest);
/**
*
* @param getCharitiesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetCharitiesResponseType
*/
@WebMethod(operationName = "GetCharities")
@WebResult(name = "GetCharitiesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetCharitiesResponse")
public GetCharitiesResponseType getCharities(
@WebParam(name = "GetCharitiesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetCharitiesRequest")
GetCharitiesRequestType getCharitiesRequest);
/**
*
* @param getClientAlertsAuthTokenRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetClientAlertsAuthTokenResponseType
*/
@WebMethod(operationName = "GetClientAlertsAuthToken")
@WebResult(name = "GetClientAlertsAuthTokenResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetClientAlertsAuthTokenResponse")
public GetClientAlertsAuthTokenResponseType getClientAlertsAuthToken(
@WebParam(name = "GetClientAlertsAuthTokenRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetClientAlertsAuthTokenRequest")
GetClientAlertsAuthTokenRequestType getClientAlertsAuthTokenRequest);
/**
*
* @param getContextualKeywordsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetContextualKeywordsResponseType
*/
@WebMethod(operationName = "GetContextualKeywords")
@WebResult(name = "GetContextualKeywordsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetContextualKeywordsResponse")
public GetContextualKeywordsResponseType getContextualKeywords(
@WebParam(name = "GetContextualKeywordsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetContextualKeywordsRequest")
GetContextualKeywordsRequestType getContextualKeywordsRequest);
/**
*
* @param getCrossPromotionsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetCrossPromotionsResponseType
*/
@WebMethod(operationName = "GetCrossPromotions")
@WebResult(name = "GetCrossPromotionsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetCrossPromotionsResponse")
public GetCrossPromotionsResponseType getCrossPromotions(
@WebParam(name = "GetCrossPromotionsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetCrossPromotionsRequest")
GetCrossPromotionsRequestType getCrossPromotionsRequest);
/**
*
* @param getDescriptionTemplatesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetDescriptionTemplatesResponseType
*/
@WebMethod(operationName = "GetDescriptionTemplates")
@WebResult(name = "GetDescriptionTemplatesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetDescriptionTemplatesResponse")
public GetDescriptionTemplatesResponseType getDescriptionTemplates(
@WebParam(name = "GetDescriptionTemplatesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetDescriptionTemplatesRequest")
GetDescriptionTemplatesRequestType getDescriptionTemplatesRequest);
/**
*
* @param getDisputeRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetDisputeResponseType
*/
@WebMethod(operationName = "GetDispute")
@WebResult(name = "GetDisputeResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetDisputeResponse")
public GetDisputeResponseType getDispute(
@WebParam(name = "GetDisputeRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetDisputeRequest")
GetDisputeRequestType getDisputeRequest);
/**
*
* @param getFeedbackRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetFeedbackResponseType
*/
@WebMethod(operationName = "GetFeedback")
@WebResult(name = "GetFeedbackResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetFeedbackResponse")
public GetFeedbackResponseType getFeedback(
@WebParam(name = "GetFeedbackRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetFeedbackRequest")
GetFeedbackRequestType getFeedbackRequest);
/**
*
* @param getHighBiddersRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetHighBiddersResponseType
*/
@WebMethod(operationName = "GetHighBidders")
@WebResult(name = "GetHighBiddersResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetHighBiddersResponse")
public GetHighBiddersResponseType getHighBidders(
@WebParam(name = "GetHighBiddersRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetHighBiddersRequest")
GetHighBiddersRequestType getHighBiddersRequest);
/**
*
* @param getItemRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetItemResponseType
*/
@WebMethod(operationName = "GetItem")
@WebResult(name = "GetItemResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetItemResponse")
public GetItemResponseType getItem(
@WebParam(name = "GetItemRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetItemRequest")
GetItemRequestType getItemRequest);
/**
*
* @param getItemRecommendationsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetItemRecommendationsResponseType
*/
@WebMethod(operationName = "GetItemRecommendations")
@WebResult(name = "GetItemRecommendationsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetItemRecommendationsResponse")
public GetItemRecommendationsResponseType getItemRecommendations(
@WebParam(name = "GetItemRecommendationsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetItemRecommendationsRequest")
GetItemRecommendationsRequestType getItemRecommendationsRequest);
/**
*
* @param getItemShippingRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetItemShippingResponseType
*/
@WebMethod(operationName = "GetItemShipping")
@WebResult(name = "GetItemShippingResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetItemShippingResponse")
public GetItemShippingResponseType getItemShipping(
@WebParam(name = "GetItemShippingRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetItemShippingRequest")
GetItemShippingRequestType getItemShippingRequest);
/**
*
* @param getItemTransactionsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetItemTransactionsResponseType
*/
@WebMethod(operationName = "GetItemTransactions")
@WebResult(name = "GetItemTransactionsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetItemTransactionsResponse")
public GetItemTransactionsResponseType getItemTransactions(
@WebParam(name = "GetItemTransactionsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetItemTransactionsRequest")
GetItemTransactionsRequestType getItemTransactionsRequest);
/**
*
* @param getItemsAwaitingFeedbackRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetItemsAwaitingFeedbackResponseType
*/
@WebMethod(operationName = "GetItemsAwaitingFeedback")
@WebResult(name = "GetItemsAwaitingFeedbackResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetItemsAwaitingFeedbackResponse")
public GetItemsAwaitingFeedbackResponseType getItemsAwaitingFeedback(
@WebParam(name = "GetItemsAwaitingFeedbackRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetItemsAwaitingFeedbackRequest")
GetItemsAwaitingFeedbackRequestType getItemsAwaitingFeedbackRequest);
/**
*
* @param getMemberMessagesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetMemberMessagesResponseType
*/
@WebMethod(operationName = "GetMemberMessages")
@WebResult(name = "GetMemberMessagesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetMemberMessagesResponse")
public GetMemberMessagesResponseType getMemberMessages(
@WebParam(name = "GetMemberMessagesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetMemberMessagesRequest")
GetMemberMessagesRequestType getMemberMessagesRequest);
/**
*
* @param getMessagePreferencesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetMessagePreferencesResponseType
*/
@WebMethod(operationName = "GetMessagePreferences")
@WebResult(name = "GetMessagePreferencesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetMessagePreferencesResponse")
public GetMessagePreferencesResponseType getMessagePreferences(
@WebParam(name = "GetMessagePreferencesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetMessagePreferencesRequest")
GetMessagePreferencesRequestType getMessagePreferencesRequest);
/**
*
* @param getMyMessagesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetMyMessagesResponseType
*/
@WebMethod(operationName = "GetMyMessages")
@WebResult(name = "GetMyMessagesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetMyMessagesResponse")
public GetMyMessagesResponseType getMyMessages(
@WebParam(name = "GetMyMessagesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetMyMessagesRequest")
GetMyMessagesRequestType getMyMessagesRequest);
/**
*
* @param getMyeBayBuyingRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetMyeBayBuyingResponseType
*/
@WebMethod(operationName = "GetMyeBayBuying")
@WebResult(name = "GetMyeBayBuyingResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetMyeBayBuyingResponse")
public GetMyeBayBuyingResponseType getMyeBayBuying(
@WebParam(name = "GetMyeBayBuyingRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetMyeBayBuyingRequest")
GetMyeBayBuyingRequestType getMyeBayBuyingRequest);
/**
*
* @param getMyeBayRemindersRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetMyeBayRemindersResponseType
*/
@WebMethod(operationName = "GetMyeBayReminders")
@WebResult(name = "GetMyeBayRemindersResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetMyeBayRemindersResponse")
public GetMyeBayRemindersResponseType getMyeBayReminders(
@WebParam(name = "GetMyeBayRemindersRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetMyeBayRemindersRequest")
GetMyeBayRemindersRequestType getMyeBayRemindersRequest);
/**
*
* @param getMyeBaySellingRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetMyeBaySellingResponseType
*/
@WebMethod(operationName = "GetMyeBaySelling")
@WebResult(name = "GetMyeBaySellingResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetMyeBaySellingResponse")
public GetMyeBaySellingResponseType getMyeBaySelling(
@WebParam(name = "GetMyeBaySellingRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetMyeBaySellingRequest")
GetMyeBaySellingRequestType getMyeBaySellingRequest);
/**
*
* @param getNotificationPreferencesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetNotificationPreferencesResponseType
*/
@WebMethod(operationName = "GetNotificationPreferences")
@WebResult(name = "GetNotificationPreferencesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetNotificationPreferencesResponse")
public GetNotificationPreferencesResponseType getNotificationPreferences(
@WebParam(name = "GetNotificationPreferencesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetNotificationPreferencesRequest")
GetNotificationPreferencesRequestType getNotificationPreferencesRequest);
/**
*
* @param getNotificationsUsageRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetNotificationsUsageResponseType
*/
@WebMethod(operationName = "GetNotificationsUsage")
@WebResult(name = "GetNotificationsUsageResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetNotificationsUsageResponse")
public GetNotificationsUsageResponseType getNotificationsUsage(
@WebParam(name = "GetNotificationsUsageRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetNotificationsUsageRequest")
GetNotificationsUsageRequestType getNotificationsUsageRequest);
/**
*
* @param getOrderTransactionsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetOrderTransactionsResponseType
*/
@WebMethod(operationName = "GetOrderTransactions")
@WebResult(name = "GetOrderTransactionsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetOrderTransactionsResponse")
public GetOrderTransactionsResponseType getOrderTransactions(
@WebParam(name = "GetOrderTransactionsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetOrderTransactionsRequest")
GetOrderTransactionsRequestType getOrderTransactionsRequest);
/**
*
* @param getOrdersRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetOrdersResponseType
*/
@WebMethod(operationName = "GetOrders")
@WebResult(name = "GetOrdersResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetOrdersResponse")
public GetOrdersResponseType getOrders(
@WebParam(name = "GetOrdersRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetOrdersRequest")
GetOrdersRequestType getOrdersRequest);
/**
*
* @param getPictureManagerDetailsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetPictureManagerDetailsResponseType
*/
@WebMethod(operationName = "GetPictureManagerDetails")
@WebResult(name = "GetPictureManagerDetailsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetPictureManagerDetailsResponse")
public GetPictureManagerDetailsResponseType getPictureManagerDetails(
@WebParam(name = "GetPictureManagerDetailsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetPictureManagerDetailsRequest")
GetPictureManagerDetailsRequestType getPictureManagerDetailsRequest);
/**
*
* @param getPictureManagerOptionsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetPictureManagerOptionsResponseType
*/
@WebMethod(operationName = "GetPictureManagerOptions")
@WebResult(name = "GetPictureManagerOptionsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetPictureManagerOptionsResponse")
public GetPictureManagerOptionsResponseType getPictureManagerOptions(
@WebParam(name = "GetPictureManagerOptionsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetPictureManagerOptionsRequest")
GetPictureManagerOptionsRequestType getPictureManagerOptionsRequest);
/**
*
* @param getProductFamilyMembersRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetProductFamilyMembersResponseType
*/
@WebMethod(operationName = "GetProductFamilyMembers")
@WebResult(name = "GetProductFamilyMembersResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetProductFamilyMembersResponse")
public GetProductFamilyMembersResponseType getProductFamilyMembers(
@WebParam(name = "GetProductFamilyMembersRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetProductFamilyMembersRequest")
GetProductFamilyMembersRequestType getProductFamilyMembersRequest);
/**
*
* @param getProductFinderRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetProductFinderResponseType
*/
@WebMethod(operationName = "GetProductFinder")
@WebResult(name = "GetProductFinderResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetProductFinderResponse")
public GetProductFinderResponseType getProductFinder(
@WebParam(name = "GetProductFinderRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetProductFinderRequest")
GetProductFinderRequestType getProductFinderRequest);
/**
*
* @param getProductFinderXSLRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetProductFinderXSLResponseType
*/
@WebMethod(operationName = "GetProductFinderXSL")
@WebResult(name = "GetProductFinderXSLResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetProductFinderXSLResponse")
public GetProductFinderXSLResponseType getProductFinderXSL(
@WebParam(name = "GetProductFinderXSLRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetProductFinderXSLRequest")
GetProductFinderXSLRequestType getProductFinderXSLRequest);
/**
*
* @param getProductSearchPageRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetProductSearchPageResponseType
*/
@WebMethod(operationName = "GetProductSearchPage")
@WebResult(name = "GetProductSearchPageResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetProductSearchPageResponse")
public GetProductSearchPageResponseType getProductSearchPage(
@WebParam(name = "GetProductSearchPageRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetProductSearchPageRequest")
GetProductSearchPageRequestType getProductSearchPageRequest);
/**
*
* @param getProductSearchResultsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetProductSearchResultsResponseType
*/
@WebMethod(operationName = "GetProductSearchResults")
@WebResult(name = "GetProductSearchResultsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetProductSearchResultsResponse")
public GetProductSearchResultsResponseType getProductSearchResults(
@WebParam(name = "GetProductSearchResultsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetProductSearchResultsRequest")
GetProductSearchResultsRequestType getProductSearchResultsRequest);
/**
*
* @param getProductSellingPagesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetProductSellingPagesResponseType
*/
@WebMethod(operationName = "GetProductSellingPages")
@WebResult(name = "GetProductSellingPagesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetProductSellingPagesResponse")
public GetProductSellingPagesResponseType getProductSellingPages(
@WebParam(name = "GetProductSellingPagesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetProductSellingPagesRequest")
GetProductSellingPagesRequestType getProductSellingPagesRequest);
/**
*
* @param getPromotionRulesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetPromotionRulesResponseType
*/
@WebMethod(operationName = "GetPromotionRules")
@WebResult(name = "GetPromotionRulesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetPromotionRulesResponse")
public GetPromotionRulesResponseType getPromotionRules(
@WebParam(name = "GetPromotionRulesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetPromotionRulesRequest")
GetPromotionRulesRequestType getPromotionRulesRequest);
/**
*
* @param getPromotionalSaleDetailsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetPromotionalSaleDetailsResponseType
*/
@WebMethod(operationName = "GetPromotionalSaleDetails")
@WebResult(name = "GetPromotionalSaleDetailsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetPromotionalSaleDetailsResponse")
public GetPromotionalSaleDetailsResponseType getPromotionalSaleDetails(
@WebParam(name = "GetPromotionalSaleDetailsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetPromotionalSaleDetailsRequest")
GetPromotionalSaleDetailsRequestType getPromotionalSaleDetailsRequest);
/**
*
* @param getSellerDashboardRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetSellerDashboardResponseType
*/
@WebMethod(operationName = "GetSellerDashboard")
@WebResult(name = "GetSellerDashboardResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellerDashboardResponse")
public GetSellerDashboardResponseType getSellerDashboard(
@WebParam(name = "GetSellerDashboardRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellerDashboardRequest")
GetSellerDashboardRequestType getSellerDashboardRequest);
/**
*
* @param getSellerEventsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetSellerEventsResponseType
*/
@WebMethod(operationName = "GetSellerEvents")
@WebResult(name = "GetSellerEventsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellerEventsResponse")
public GetSellerEventsResponseType getSellerEvents(
@WebParam(name = "GetSellerEventsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellerEventsRequest")
GetSellerEventsRequestType getSellerEventsRequest);
/**
*
* @param getSellerListRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetSellerListResponseType
*/
@WebMethod(operationName = "GetSellerList")
@WebResult(name = "GetSellerListResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellerListResponse")
public GetSellerListResponseType getSellerList(
@WebParam(name = "GetSellerListRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellerListRequest")
GetSellerListRequestType getSellerListRequest);
/**
*
* @param getSellerPaymentsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetSellerPaymentsResponseType
*/
@WebMethod(operationName = "GetSellerPayments")
@WebResult(name = "GetSellerPaymentsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellerPaymentsResponse")
public GetSellerPaymentsResponseType getSellerPayments(
@WebParam(name = "GetSellerPaymentsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellerPaymentsRequest")
GetSellerPaymentsRequestType getSellerPaymentsRequest);
/**
*
* @param getSellerTransactionsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetSellerTransactionsResponseType
*/
@WebMethod(operationName = "GetSellerTransactions")
@WebResult(name = "GetSellerTransactionsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellerTransactionsResponse")
public GetSellerTransactionsResponseType getSellerTransactions(
@WebParam(name = "GetSellerTransactionsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellerTransactionsRequest")
GetSellerTransactionsRequestType getSellerTransactionsRequest);
/**
*
* @param getSellingManagerAlertsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetSellingManagerAlertsResponseType
*/
@WebMethod(operationName = "GetSellingManagerAlerts")
@WebResult(name = "GetSellingManagerAlertsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellingManagerAlertsResponse")
public GetSellingManagerAlertsResponseType getSellingManagerAlerts(
@WebParam(name = "GetSellingManagerAlertsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellingManagerAlertsRequest")
GetSellingManagerAlertsRequestType getSellingManagerAlertsRequest);
/**
*
* @param getSellingManagerEmailLogRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetSellingManagerEmailLogResponseType
*/
@WebMethod(operationName = "GetSellingManagerEmailLog")
@WebResult(name = "GetSellingManagerEmailLogResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellingManagerEmailLogResponse")
public GetSellingManagerEmailLogResponseType getSellingManagerEmailLog(
@WebParam(name = "GetSellingManagerEmailLogRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellingManagerEmailLogRequest")
GetSellingManagerEmailLogRequestType getSellingManagerEmailLogRequest);
/**
*
* @param getSellingManagerInventoryRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetSellingManagerInventoryResponseType
*/
@WebMethod(operationName = "GetSellingManagerInventory")
@WebResult(name = "GetSellingManagerInventoryResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellingManagerInventoryResponse")
public GetSellingManagerInventoryResponseType getSellingManagerInventory(
@WebParam(name = "GetSellingManagerInventoryRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellingManagerInventoryRequest")
GetSellingManagerInventoryRequestType getSellingManagerInventoryRequest);
/**
*
* @param getSellingManagerInventoryFolderRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetSellingManagerInventoryFolderResponseType
*/
@WebMethod(operationName = "GetSellingManagerInventoryFolder")
@WebResult(name = "GetSellingManagerInventoryFolderResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellingManagerInventoryFolderResponse")
public GetSellingManagerInventoryFolderResponseType getSellingManagerInventoryFolder(
@WebParam(name = "GetSellingManagerInventoryFolderRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellingManagerInventoryFolderRequest")
GetSellingManagerInventoryFolderRequestType getSellingManagerInventoryFolderRequest);
/**
*
* @param getSellingManagerItemAutomationRuleRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetSellingManagerItemAutomationRuleResponseType
*/
@WebMethod(operationName = "GetSellingManagerItemAutomationRule")
@WebResult(name = "GetSellingManagerItemAutomationRuleResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellingManagerItemAutomationRuleResponse")
public GetSellingManagerItemAutomationRuleResponseType getSellingManagerItemAutomationRule(
@WebParam(name = "GetSellingManagerItemAutomationRuleRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellingManagerItemAutomationRuleRequest")
GetSellingManagerItemAutomationRuleRequestType getSellingManagerItemAutomationRuleRequest);
/**
*
* @param getSellingManagerSaleRecordRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetSellingManagerSaleRecordResponseType
*/
@WebMethod(operationName = "GetSellingManagerSaleRecord")
@WebResult(name = "GetSellingManagerSaleRecordResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellingManagerSaleRecordResponse")
public GetSellingManagerSaleRecordResponseType getSellingManagerSaleRecord(
@WebParam(name = "GetSellingManagerSaleRecordRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellingManagerSaleRecordRequest")
GetSellingManagerSaleRecordRequestType getSellingManagerSaleRecordRequest);
/**
*
* @param getSellingManagerSoldListingsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetSellingManagerSoldListingsResponseType
*/
@WebMethod(operationName = "GetSellingManagerSoldListings")
@WebResult(name = "GetSellingManagerSoldListingsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellingManagerSoldListingsResponse")
public GetSellingManagerSoldListingsResponseType getSellingManagerSoldListings(
@WebParam(name = "GetSellingManagerSoldListingsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellingManagerSoldListingsRequest")
GetSellingManagerSoldListingsRequestType getSellingManagerSoldListingsRequest);
/**
*
* @param getSellingManagerTemplateAutomationRuleRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetSellingManagerTemplateAutomationRuleResponseType
*/
@WebMethod(operationName = "GetSellingManagerTemplateAutomationRule")
@WebResult(name = "GetSellingManagerTemplateAutomationRuleResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellingManagerTemplateAutomationRuleResponse")
public GetSellingManagerTemplateAutomationRuleResponseType getSellingManagerTemplateAutomationRule(
@WebParam(name = "GetSellingManagerTemplateAutomationRuleRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellingManagerTemplateAutomationRuleRequest")
GetSellingManagerTemplateAutomationRuleRequestType getSellingManagerTemplateAutomationRuleRequest);
/**
*
* @param getSellingManagerTemplatesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetSellingManagerTemplatesResponseType
*/
@WebMethod(operationName = "GetSellingManagerTemplates")
@WebResult(name = "GetSellingManagerTemplatesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellingManagerTemplatesResponse")
public GetSellingManagerTemplatesResponseType getSellingManagerTemplates(
@WebParam(name = "GetSellingManagerTemplatesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSellingManagerTemplatesRequest")
GetSellingManagerTemplatesRequestType getSellingManagerTemplatesRequest);
/**
*
* @param getSessionIDRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetSessionIDResponseType
*/
@WebMethod(operationName = "GetSessionID")
@WebResult(name = "GetSessionIDResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSessionIDResponse")
public GetSessionIDResponseType getSessionID(
@WebParam(name = "GetSessionIDRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSessionIDRequest")
GetSessionIDRequestType getSessionIDRequest);
/**
*
* @param getShippingDiscountProfilesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetShippingDiscountProfilesResponseType
*/
@WebMethod(operationName = "GetShippingDiscountProfiles")
@WebResult(name = "GetShippingDiscountProfilesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetShippingDiscountProfilesResponse")
public GetShippingDiscountProfilesResponseType getShippingDiscountProfiles(
@WebParam(name = "GetShippingDiscountProfilesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetShippingDiscountProfilesRequest")
GetShippingDiscountProfilesRequestType getShippingDiscountProfilesRequest);
/**
*
* @param getStoreRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetStoreResponseType
*/
@WebMethod(operationName = "GetStore")
@WebResult(name = "GetStoreResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetStoreResponse")
public GetStoreResponseType getStore(
@WebParam(name = "GetStoreRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetStoreRequest")
GetStoreRequestType getStoreRequest);
/**
*
* @param getStoreCategoryUpdateStatusRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetStoreCategoryUpdateStatusResponseType
*/
@WebMethod(operationName = "GetStoreCategoryUpdateStatus")
@WebResult(name = "GetStoreCategoryUpdateStatusResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetStoreCategoryUpdateStatusResponse")
public GetStoreCategoryUpdateStatusResponseType getStoreCategoryUpdateStatus(
@WebParam(name = "GetStoreCategoryUpdateStatusRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetStoreCategoryUpdateStatusRequest")
GetStoreCategoryUpdateStatusRequestType getStoreCategoryUpdateStatusRequest);
/**
*
* @param getStoreCustomPageRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetStoreCustomPageResponseType
*/
@WebMethod(operationName = "GetStoreCustomPage")
@WebResult(name = "GetStoreCustomPageResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetStoreCustomPageResponse")
public GetStoreCustomPageResponseType getStoreCustomPage(
@WebParam(name = "GetStoreCustomPageRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetStoreCustomPageRequest")
GetStoreCustomPageRequestType getStoreCustomPageRequest);
/**
*
* @param getStoreOptionsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetStoreOptionsResponseType
*/
@WebMethod(operationName = "GetStoreOptions")
@WebResult(name = "GetStoreOptionsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetStoreOptionsResponse")
public GetStoreOptionsResponseType getStoreOptions(
@WebParam(name = "GetStoreOptionsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetStoreOptionsRequest")
GetStoreOptionsRequestType getStoreOptionsRequest);
/**
*
* @param getStorePreferencesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetStorePreferencesResponseType
*/
@WebMethod(operationName = "GetStorePreferences")
@WebResult(name = "GetStorePreferencesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetStorePreferencesResponse")
public GetStorePreferencesResponseType getStorePreferences(
@WebParam(name = "GetStorePreferencesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetStorePreferencesRequest")
GetStorePreferencesRequestType getStorePreferencesRequest);
/**
*
* @param getSuggestedCategoriesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetSuggestedCategoriesResponseType
*/
@WebMethod(operationName = "GetSuggestedCategories")
@WebResult(name = "GetSuggestedCategoriesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSuggestedCategoriesResponse")
public GetSuggestedCategoriesResponseType getSuggestedCategories(
@WebParam(name = "GetSuggestedCategoriesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetSuggestedCategoriesRequest")
GetSuggestedCategoriesRequestType getSuggestedCategoriesRequest);
/**
*
* @param getTaxTableRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetTaxTableResponseType
*/
@WebMethod(operationName = "GetTaxTable")
@WebResult(name = "GetTaxTableResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetTaxTableResponse")
public GetTaxTableResponseType getTaxTable(
@WebParam(name = "GetTaxTableRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetTaxTableRequest")
GetTaxTableRequestType getTaxTableRequest);
/**
*
* @param getTokenStatusRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetTokenStatusResponseType
*/
@WebMethod(operationName = "GetTokenStatus")
@WebResult(name = "GetTokenStatusResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetTokenStatusResponse")
public GetTokenStatusResponseType getTokenStatus(
@WebParam(name = "GetTokenStatusRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetTokenStatusRequest")
GetTokenStatusRequestType getTokenStatusRequest);
/**
*
* @param getUserRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetUserResponseType
*/
@WebMethod(operationName = "GetUser")
@WebResult(name = "GetUserResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetUserResponse")
public GetUserResponseType getUser(
@WebParam(name = "GetUserRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetUserRequest")
GetUserRequestType getUserRequest);
/**
*
* @param getUserContactDetailsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetUserContactDetailsResponseType
*/
@WebMethod(operationName = "GetUserContactDetails")
@WebResult(name = "GetUserContactDetailsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetUserContactDetailsResponse")
public GetUserContactDetailsResponseType getUserContactDetails(
@WebParam(name = "GetUserContactDetailsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetUserContactDetailsRequest")
GetUserContactDetailsRequestType getUserContactDetailsRequest);
/**
*
* @param getUserDisputesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetUserDisputesResponseType
*/
@WebMethod(operationName = "GetUserDisputes")
@WebResult(name = "GetUserDisputesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetUserDisputesResponse")
public GetUserDisputesResponseType getUserDisputes(
@WebParam(name = "GetUserDisputesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetUserDisputesRequest")
GetUserDisputesRequestType getUserDisputesRequest);
/**
*
* @param getUserPreferencesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetUserPreferencesResponseType
*/
@WebMethod(operationName = "GetUserPreferences")
@WebResult(name = "GetUserPreferencesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetUserPreferencesResponse")
public GetUserPreferencesResponseType getUserPreferences(
@WebParam(name = "GetUserPreferencesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetUserPreferencesRequest")
GetUserPreferencesRequestType getUserPreferencesRequest);
/**
*
* @param getVeROReasonCodeDetailsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetVeROReasonCodeDetailsResponseType
*/
@WebMethod(operationName = "GetVeROReasonCodeDetails")
@WebResult(name = "GetVeROReasonCodeDetailsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetVeROReasonCodeDetailsResponse")
public GetVeROReasonCodeDetailsResponseType getVeROReasonCodeDetails(
@WebParam(name = "GetVeROReasonCodeDetailsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetVeROReasonCodeDetailsRequest")
GetVeROReasonCodeDetailsRequestType getVeROReasonCodeDetailsRequest);
/**
*
* @param getVeROReportStatusRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetVeROReportStatusResponseType
*/
@WebMethod(operationName = "GetVeROReportStatus")
@WebResult(name = "GetVeROReportStatusResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetVeROReportStatusResponse")
public GetVeROReportStatusResponseType getVeROReportStatus(
@WebParam(name = "GetVeROReportStatusRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetVeROReportStatusRequest")
GetVeROReportStatusRequestType getVeROReportStatusRequest);
/**
*
* @param getWantItNowPostRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetWantItNowPostResponseType
*/
@WebMethod(operationName = "GetWantItNowPost")
@WebResult(name = "GetWantItNowPostResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetWantItNowPostResponse")
public GetWantItNowPostResponseType getWantItNowPost(
@WebParam(name = "GetWantItNowPostRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetWantItNowPostRequest")
GetWantItNowPostRequestType getWantItNowPostRequest);
/**
*
* @param getWantItNowSearchResultsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GetWantItNowSearchResultsResponseType
*/
@WebMethod(operationName = "GetWantItNowSearchResults")
@WebResult(name = "GetWantItNowSearchResultsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetWantItNowSearchResultsResponse")
public GetWantItNowSearchResultsResponseType getWantItNowSearchResults(
@WebParam(name = "GetWantItNowSearchResultsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GetWantItNowSearchResultsRequest")
GetWantItNowSearchResultsRequestType getWantItNowSearchResultsRequest);
/**
*
* @param geteBayDetailsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GeteBayDetailsResponseType
*/
@WebMethod(operationName = "GeteBayDetails")
@WebResult(name = "GeteBayDetailsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GeteBayDetailsResponse")
public GeteBayDetailsResponseType geteBayDetails(
@WebParam(name = "GeteBayDetailsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GeteBayDetailsRequest")
GeteBayDetailsRequestType geteBayDetailsRequest);
/**
*
* @param geteBayOfficialTimeRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.GeteBayOfficialTimeResponseType
*/
@WebMethod(operationName = "GeteBayOfficialTime")
@WebResult(name = "GeteBayOfficialTimeResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GeteBayOfficialTimeResponse")
public GeteBayOfficialTimeResponseType geteBayOfficialTime(
@WebParam(name = "GeteBayOfficialTimeRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "GeteBayOfficialTimeRequest")
GeteBayOfficialTimeRequestType geteBayOfficialTimeRequest);
/**
*
* @param issueRefundRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.IssueRefundResponseType
*/
@WebMethod(operationName = "IssueRefund")
@WebResult(name = "IssueRefundResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "IssueRefundResponse")
public IssueRefundResponseType issueRefund(
@WebParam(name = "IssueRefundRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "IssueRefundRequest")
IssueRefundRequestType issueRefundRequest);
/**
*
* @param leaveFeedbackRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.LeaveFeedbackResponseType
*/
@WebMethod(operationName = "LeaveFeedback")
@WebResult(name = "LeaveFeedbackResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "LeaveFeedbackResponse")
public LeaveFeedbackResponseType leaveFeedback(
@WebParam(name = "LeaveFeedbackRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "LeaveFeedbackRequest")
LeaveFeedbackRequestType leaveFeedbackRequest);
/**
*
* @param moveSellingManagerInventoryFolderRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.MoveSellingManagerInventoryFolderResponseType
*/
@WebMethod(operationName = "MoveSellingManagerInventoryFolder")
@WebResult(name = "MoveSellingManagerInventoryFolderResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "MoveSellingManagerInventoryFolderResponse")
public MoveSellingManagerInventoryFolderResponseType moveSellingManagerInventoryFolder(
@WebParam(name = "MoveSellingManagerInventoryFolderRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "MoveSellingManagerInventoryFolderRequest")
MoveSellingManagerInventoryFolderRequestType moveSellingManagerInventoryFolderRequest);
/**
*
* @param placeOfferRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.PlaceOfferResponseType
*/
@WebMethod(operationName = "PlaceOffer")
@WebResult(name = "PlaceOfferResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "PlaceOfferResponse")
public PlaceOfferResponseType placeOffer(
@WebParam(name = "PlaceOfferRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "PlaceOfferRequest")
PlaceOfferRequestType placeOfferRequest);
/**
*
* @param relistFixedPriceItemRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.RelistFixedPriceItemResponseType
*/
@WebMethod(operationName = "RelistFixedPriceItem")
@WebResult(name = "RelistFixedPriceItemResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "RelistFixedPriceItemResponse")
public RelistFixedPriceItemResponseType relistFixedPriceItem(
@WebParam(name = "RelistFixedPriceItemRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "RelistFixedPriceItemRequest")
RelistFixedPriceItemRequestType relistFixedPriceItemRequest);
/**
*
* @param relistItemRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.RelistItemResponseType
*/
@WebMethod(operationName = "RelistItem")
@WebResult(name = "RelistItemResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "RelistItemResponse")
public RelistItemResponseType relistItem(
@WebParam(name = "RelistItemRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "RelistItemRequest")
RelistItemRequestType relistItemRequest);
/**
*
* @param removeFromWatchListRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.RemoveFromWatchListResponseType
*/
@WebMethod(operationName = "RemoveFromWatchList")
@WebResult(name = "RemoveFromWatchListResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "RemoveFromWatchListResponse")
public RemoveFromWatchListResponseType removeFromWatchList(
@WebParam(name = "RemoveFromWatchListRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "RemoveFromWatchListRequest")
RemoveFromWatchListRequestType removeFromWatchListRequest);
/**
*
* @param respondToBestOfferRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.RespondToBestOfferResponseType
*/
@WebMethod(operationName = "RespondToBestOffer")
@WebResult(name = "RespondToBestOfferResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "RespondToBestOfferResponse")
public RespondToBestOfferResponseType respondToBestOffer(
@WebParam(name = "RespondToBestOfferRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "RespondToBestOfferRequest")
RespondToBestOfferRequestType respondToBestOfferRequest);
/**
*
* @param respondToFeedbackRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.RespondToFeedbackResponseType
*/
@WebMethod(operationName = "RespondToFeedback")
@WebResult(name = "RespondToFeedbackResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "RespondToFeedbackResponse")
public RespondToFeedbackResponseType respondToFeedback(
@WebParam(name = "RespondToFeedbackRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "RespondToFeedbackRequest")
RespondToFeedbackRequestType respondToFeedbackRequest);
/**
*
* @param respondToWantItNowPostRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.RespondToWantItNowPostResponseType
*/
@WebMethod(operationName = "RespondToWantItNowPost")
@WebResult(name = "RespondToWantItNowPostResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "RespondToWantItNowPostResponse")
public RespondToWantItNowPostResponseType respondToWantItNowPost(
@WebParam(name = "RespondToWantItNowPostRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "RespondToWantItNowPostRequest")
RespondToWantItNowPostRequestType respondToWantItNowPostRequest);
/**
*
* @param reviseCheckoutStatusRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.ReviseCheckoutStatusResponseType
*/
@WebMethod(operationName = "ReviseCheckoutStatus")
@WebResult(name = "ReviseCheckoutStatusResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ReviseCheckoutStatusResponse")
public ReviseCheckoutStatusResponseType reviseCheckoutStatus(
@WebParam(name = "ReviseCheckoutStatusRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ReviseCheckoutStatusRequest")
ReviseCheckoutStatusRequestType reviseCheckoutStatusRequest);
/**
*
* @param reviseFixedPriceItemRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.ReviseFixedPriceItemResponseType
*/
@WebMethod(operationName = "ReviseFixedPriceItem")
@WebResult(name = "ReviseFixedPriceItemResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ReviseFixedPriceItemResponse")
public ReviseFixedPriceItemResponseType reviseFixedPriceItem(
@WebParam(name = "ReviseFixedPriceItemRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ReviseFixedPriceItemRequest")
ReviseFixedPriceItemRequestType reviseFixedPriceItemRequest);
/**
*
* @param reviseInventoryStatusRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.ReviseInventoryStatusResponseType
*/
@WebMethod(operationName = "ReviseInventoryStatus")
@WebResult(name = "ReviseInventoryStatusResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ReviseInventoryStatusResponse")
public ReviseInventoryStatusResponseType reviseInventoryStatus(
@WebParam(name = "ReviseInventoryStatusRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ReviseInventoryStatusRequest")
ReviseInventoryStatusRequestType reviseInventoryStatusRequest);
/**
*
* @param reviseItemRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.ReviseItemResponseType
*/
@WebMethod(operationName = "ReviseItem")
@WebResult(name = "ReviseItemResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ReviseItemResponse")
public ReviseItemResponseType reviseItem(
@WebParam(name = "ReviseItemRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ReviseItemRequest")
ReviseItemRequestType reviseItemRequest);
/**
*
* @param reviseMyMessagesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.ReviseMyMessagesResponseType
*/
@WebMethod(operationName = "ReviseMyMessages")
@WebResult(name = "ReviseMyMessagesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ReviseMyMessagesResponse")
public ReviseMyMessagesResponseType reviseMyMessages(
@WebParam(name = "ReviseMyMessagesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ReviseMyMessagesRequest")
ReviseMyMessagesRequestType reviseMyMessagesRequest);
/**
*
* @param reviseMyMessagesFoldersRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.ReviseMyMessagesFoldersResponseType
*/
@WebMethod(operationName = "ReviseMyMessagesFolders")
@WebResult(name = "ReviseMyMessagesFoldersResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ReviseMyMessagesFoldersResponse")
public ReviseMyMessagesFoldersResponseType reviseMyMessagesFolders(
@WebParam(name = "ReviseMyMessagesFoldersRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ReviseMyMessagesFoldersRequest")
ReviseMyMessagesFoldersRequestType reviseMyMessagesFoldersRequest);
/**
*
* @param reviseSellingManagerInventoryFolderRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.ReviseSellingManagerInventoryFolderResponseType
*/
@WebMethod(operationName = "ReviseSellingManagerInventoryFolder")
@WebResult(name = "ReviseSellingManagerInventoryFolderResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ReviseSellingManagerInventoryFolderResponse")
public ReviseSellingManagerInventoryFolderResponseType reviseSellingManagerInventoryFolder(
@WebParam(name = "ReviseSellingManagerInventoryFolderRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ReviseSellingManagerInventoryFolderRequest")
ReviseSellingManagerInventoryFolderRequestType reviseSellingManagerInventoryFolderRequest);
/**
*
* @param reviseSellingManagerProductRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.ReviseSellingManagerProductResponseType
*/
@WebMethod(operationName = "ReviseSellingManagerProduct")
@WebResult(name = "ReviseSellingManagerProductResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ReviseSellingManagerProductResponse")
public ReviseSellingManagerProductResponseType reviseSellingManagerProduct(
@WebParam(name = "ReviseSellingManagerProductRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ReviseSellingManagerProductRequest")
ReviseSellingManagerProductRequestType reviseSellingManagerProductRequest);
/**
*
* @param reviseSellingManagerSaleRecordRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.ReviseSellingManagerSaleRecordResponseType
*/
@WebMethod(operationName = "ReviseSellingManagerSaleRecord")
@WebResult(name = "ReviseSellingManagerSaleRecordResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ReviseSellingManagerSaleRecordResponse")
public ReviseSellingManagerSaleRecordResponseType reviseSellingManagerSaleRecord(
@WebParam(name = "ReviseSellingManagerSaleRecordRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ReviseSellingManagerSaleRecordRequest")
ReviseSellingManagerSaleRecordRequestType reviseSellingManagerSaleRecordRequest);
/**
*
* @param reviseSellingManagerTemplateRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.ReviseSellingManagerTemplateResponseType
*/
@WebMethod(operationName = "ReviseSellingManagerTemplate")
@WebResult(name = "ReviseSellingManagerTemplateResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ReviseSellingManagerTemplateResponse")
public ReviseSellingManagerTemplateResponseType reviseSellingManagerTemplate(
@WebParam(name = "ReviseSellingManagerTemplateRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ReviseSellingManagerTemplateRequest")
ReviseSellingManagerTemplateRequestType reviseSellingManagerTemplateRequest);
/**
*
* @param revokeTokenRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.RevokeTokenResponseType
*/
@WebMethod(operationName = "RevokeToken")
@WebResult(name = "RevokeTokenResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "RevokeTokenResponse")
public RevokeTokenResponseType revokeToken(
@WebParam(name = "RevokeTokenRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "RevokeTokenRequest")
RevokeTokenRequestType revokeTokenRequest);
/**
*
* @param saveItemToSellingManagerTemplateRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.SaveItemToSellingManagerTemplateResponseType
*/
@WebMethod(operationName = "SaveItemToSellingManagerTemplate")
@WebResult(name = "SaveItemToSellingManagerTemplateResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SaveItemToSellingManagerTemplateResponse")
public SaveItemToSellingManagerTemplateResponseType saveItemToSellingManagerTemplate(
@WebParam(name = "SaveItemToSellingManagerTemplateRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SaveItemToSellingManagerTemplateRequest")
SaveItemToSellingManagerTemplateRequestType saveItemToSellingManagerTemplateRequest);
/**
*
* @param sellerReverseDisputeRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.SellerReverseDisputeResponseType
*/
@WebMethod(operationName = "SellerReverseDispute")
@WebResult(name = "SellerReverseDisputeResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SellerReverseDisputeResponse")
public SellerReverseDisputeResponseType sellerReverseDispute(
@WebParam(name = "SellerReverseDisputeRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SellerReverseDisputeRequest")
SellerReverseDisputeRequestType sellerReverseDisputeRequest);
/**
*
* @param sendInvoiceRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.SendInvoiceResponseType
*/
@WebMethod(operationName = "SendInvoice")
@WebResult(name = "SendInvoiceResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SendInvoiceResponse")
public SendInvoiceResponseType sendInvoice(
@WebParam(name = "SendInvoiceRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SendInvoiceRequest")
SendInvoiceRequestType sendInvoiceRequest);
/**
*
* @param setMessagePreferencesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.SetMessagePreferencesResponseType
*/
@WebMethod(operationName = "SetMessagePreferences")
@WebResult(name = "SetMessagePreferencesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetMessagePreferencesResponse")
public SetMessagePreferencesResponseType setMessagePreferences(
@WebParam(name = "SetMessagePreferencesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetMessagePreferencesRequest")
SetMessagePreferencesRequestType setMessagePreferencesRequest);
/**
*
* @param setNotificationPreferencesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.SetNotificationPreferencesResponseType
*/
@WebMethod(operationName = "SetNotificationPreferences")
@WebResult(name = "SetNotificationPreferencesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetNotificationPreferencesResponse")
public SetNotificationPreferencesResponseType setNotificationPreferences(
@WebParam(name = "SetNotificationPreferencesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetNotificationPreferencesRequest")
SetNotificationPreferencesRequestType setNotificationPreferencesRequest);
/**
*
* @param setPictureManagerDetailsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.SetPictureManagerDetailsResponseType
*/
@WebMethod(operationName = "SetPictureManagerDetails")
@WebResult(name = "SetPictureManagerDetailsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetPictureManagerDetailsResponse")
public SetPictureManagerDetailsResponseType setPictureManagerDetails(
@WebParam(name = "SetPictureManagerDetailsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetPictureManagerDetailsRequest")
SetPictureManagerDetailsRequestType setPictureManagerDetailsRequest);
/**
*
* @param setPromotionalSaleRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.SetPromotionalSaleResponseType
*/
@WebMethod(operationName = "SetPromotionalSale")
@WebResult(name = "SetPromotionalSaleResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetPromotionalSaleResponse")
public SetPromotionalSaleResponseType setPromotionalSale(
@WebParam(name = "SetPromotionalSaleRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetPromotionalSaleRequest")
SetPromotionalSaleRequestType setPromotionalSaleRequest);
/**
*
* @param setPromotionalSaleListingsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.SetPromotionalSaleListingsResponseType
*/
@WebMethod(operationName = "SetPromotionalSaleListings")
@WebResult(name = "SetPromotionalSaleListingsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetPromotionalSaleListingsResponse")
public SetPromotionalSaleListingsResponseType setPromotionalSaleListings(
@WebParam(name = "SetPromotionalSaleListingsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetPromotionalSaleListingsRequest")
SetPromotionalSaleListingsRequestType setPromotionalSaleListingsRequest);
/**
*
* @param setSellingManagerFeedbackOptionsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.SetSellingManagerFeedbackOptionsResponseType
*/
@WebMethod(operationName = "SetSellingManagerFeedbackOptions")
@WebResult(name = "SetSellingManagerFeedbackOptionsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetSellingManagerFeedbackOptionsResponse")
public SetSellingManagerFeedbackOptionsResponseType setSellingManagerFeedbackOptions(
@WebParam(name = "SetSellingManagerFeedbackOptionsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetSellingManagerFeedbackOptionsRequest")
SetSellingManagerFeedbackOptionsRequestType setSellingManagerFeedbackOptionsRequest);
/**
*
* @param setSellingManagerItemAutomationRuleRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.SetSellingManagerItemAutomationRuleResponseType
*/
@WebMethod(operationName = "SetSellingManagerItemAutomationRule")
@WebResult(name = "SetSellingManagerItemAutomationRuleResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetSellingManagerItemAutomationRuleResponse")
public SetSellingManagerItemAutomationRuleResponseType setSellingManagerItemAutomationRule(
@WebParam(name = "SetSellingManagerItemAutomationRuleRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetSellingManagerItemAutomationRuleRequest")
SetSellingManagerItemAutomationRuleRequestType setSellingManagerItemAutomationRuleRequest);
/**
*
* @param setSellingManagerTemplateAutomationRuleRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.SetSellingManagerTemplateAutomationRuleResponseType
*/
@WebMethod(operationName = "SetSellingManagerTemplateAutomationRule")
@WebResult(name = "SetSellingManagerTemplateAutomationRuleResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetSellingManagerTemplateAutomationRuleResponse")
public SetSellingManagerTemplateAutomationRuleResponseType setSellingManagerTemplateAutomationRule(
@WebParam(name = "SetSellingManagerTemplateAutomationRuleRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetSellingManagerTemplateAutomationRuleRequest")
SetSellingManagerTemplateAutomationRuleRequestType setSellingManagerTemplateAutomationRuleRequest);
/**
*
* @param setShippingDiscountProfilesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.SetShippingDiscountProfilesResponseType
*/
@WebMethod(operationName = "SetShippingDiscountProfiles")
@WebResult(name = "SetShippingDiscountProfilesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetShippingDiscountProfilesResponse")
public SetShippingDiscountProfilesResponseType setShippingDiscountProfiles(
@WebParam(name = "SetShippingDiscountProfilesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetShippingDiscountProfilesRequest")
SetShippingDiscountProfilesRequestType setShippingDiscountProfilesRequest);
/**
*
* @param setStoreRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.SetStoreResponseType
*/
@WebMethod(operationName = "SetStore")
@WebResult(name = "SetStoreResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetStoreResponse")
public SetStoreResponseType setStore(
@WebParam(name = "SetStoreRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetStoreRequest")
SetStoreRequestType setStoreRequest);
/**
*
* @param setStoreCategoriesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.SetStoreCategoriesResponseType
*/
@WebMethod(operationName = "SetStoreCategories")
@WebResult(name = "SetStoreCategoriesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetStoreCategoriesResponse")
public SetStoreCategoriesResponseType setStoreCategories(
@WebParam(name = "SetStoreCategoriesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetStoreCategoriesRequest")
SetStoreCategoriesRequestType setStoreCategoriesRequest);
/**
*
* @param setStoreCustomPageRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.SetStoreCustomPageResponseType
*/
@WebMethod(operationName = "SetStoreCustomPage")
@WebResult(name = "SetStoreCustomPageResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetStoreCustomPageResponse")
public SetStoreCustomPageResponseType setStoreCustomPage(
@WebParam(name = "SetStoreCustomPageRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetStoreCustomPageRequest")
SetStoreCustomPageRequestType setStoreCustomPageRequest);
/**
*
* @param setStorePreferencesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.SetStorePreferencesResponseType
*/
@WebMethod(operationName = "SetStorePreferences")
@WebResult(name = "SetStorePreferencesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetStorePreferencesResponse")
public SetStorePreferencesResponseType setStorePreferences(
@WebParam(name = "SetStorePreferencesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetStorePreferencesRequest")
SetStorePreferencesRequestType setStorePreferencesRequest);
/**
*
* @param setTaxTableRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.SetTaxTableResponseType
*/
@WebMethod(operationName = "SetTaxTable")
@WebResult(name = "SetTaxTableResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetTaxTableResponse")
public SetTaxTableResponseType setTaxTable(
@WebParam(name = "SetTaxTableRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetTaxTableRequest")
SetTaxTableRequestType setTaxTableRequest);
/**
*
* @param setUserNotesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.SetUserNotesResponseType
*/
@WebMethod(operationName = "SetUserNotes")
@WebResult(name = "SetUserNotesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetUserNotesResponse")
public SetUserNotesResponseType setUserNotes(
@WebParam(name = "SetUserNotesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetUserNotesRequest")
SetUserNotesRequestType setUserNotesRequest);
/**
*
* @param setUserPreferencesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.SetUserPreferencesResponseType
*/
@WebMethod(operationName = "SetUserPreferences")
@WebResult(name = "SetUserPreferencesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetUserPreferencesResponse")
public SetUserPreferencesResponseType setUserPreferences(
@WebParam(name = "SetUserPreferencesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "SetUserPreferencesRequest")
SetUserPreferencesRequestType setUserPreferencesRequest);
/**
*
* @param uploadSiteHostedPicturesRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.UploadSiteHostedPicturesResponseType
*/
@WebMethod(operationName = "UploadSiteHostedPictures")
@WebResult(name = "UploadSiteHostedPicturesResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "UploadSiteHostedPicturesResponse")
public UploadSiteHostedPicturesResponseType uploadSiteHostedPictures(
@WebParam(name = "UploadSiteHostedPicturesRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "UploadSiteHostedPicturesRequest")
UploadSiteHostedPicturesRequestType uploadSiteHostedPicturesRequest);
/**
*
* @param validateChallengeInputRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.ValidateChallengeInputResponseType
*/
@WebMethod(operationName = "ValidateChallengeInput")
@WebResult(name = "ValidateChallengeInputResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ValidateChallengeInputResponse")
public ValidateChallengeInputResponseType validateChallengeInput(
@WebParam(name = "ValidateChallengeInputRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ValidateChallengeInputRequest")
ValidateChallengeInputRequestType validateChallengeInputRequest);
/**
*
* @param validateTestUserRegistrationRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.ValidateTestUserRegistrationResponseType
*/
@WebMethod(operationName = "ValidateTestUserRegistration")
@WebResult(name = "ValidateTestUserRegistrationResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ValidateTestUserRegistrationResponse")
public ValidateTestUserRegistrationResponseType validateTestUserRegistration(
@WebParam(name = "ValidateTestUserRegistrationRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "ValidateTestUserRegistrationRequest")
ValidateTestUserRegistrationRequestType validateTestUserRegistrationRequest);
/**
*
* @param veROReportItemsRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.VeROReportItemsResponseType
*/
@WebMethod(operationName = "VeROReportItems")
@WebResult(name = "VeROReportItemsResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "VeROReportItemsResponse")
public VeROReportItemsResponseType veROReportItems(
@WebParam(name = "VeROReportItemsRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "VeROReportItemsRequest")
VeROReportItemsRequestType veROReportItemsRequest);
/**
*
* @param verifyAddFixedPriceItemRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.VerifyAddFixedPriceItemResponseType
*/
@WebMethod(operationName = "VerifyAddFixedPriceItem")
@WebResult(name = "VerifyAddFixedPriceItemResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "VerifyAddFixedPriceItemResponse")
public VerifyAddFixedPriceItemResponseType verifyAddFixedPriceItem(
@WebParam(name = "VerifyAddFixedPriceItemRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "VerifyAddFixedPriceItemRequest")
VerifyAddFixedPriceItemRequestType verifyAddFixedPriceItemRequest);
/**
*
* @param verifyAddItemRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.VerifyAddItemResponseType
*/
@WebMethod(operationName = "VerifyAddItem")
@WebResult(name = "VerifyAddItemResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "VerifyAddItemResponse")
public VerifyAddItemResponseType verifyAddItem(
@WebParam(name = "VerifyAddItemRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "VerifyAddItemRequest")
VerifyAddItemRequestType verifyAddItemRequest);
/**
*
* @param verifyAddSecondChanceItemRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.VerifyAddSecondChanceItemResponseType
*/
@WebMethod(operationName = "VerifyAddSecondChanceItem")
@WebResult(name = "VerifyAddSecondChanceItemResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "VerifyAddSecondChanceItemResponse")
public VerifyAddSecondChanceItemResponseType verifyAddSecondChanceItem(
@WebParam(name = "VerifyAddSecondChanceItemRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "VerifyAddSecondChanceItemRequest")
VerifyAddSecondChanceItemRequestType verifyAddSecondChanceItemRequest);
/**
*
* @param verifyRelistItemRequest
* @return
* returns com.ebay.soap.eBLBaseComponents.VerifyRelistItemResponseType
*/
@WebMethod(operationName = "VerifyRelistItem")
@WebResult(name = "VerifyRelistItemResponse", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "VerifyRelistItemResponse")
public VerifyRelistItemResponseType verifyRelistItem(
@WebParam(name = "VerifyRelistItemRequest", targetNamespace = "urn:ebay:apis:eBLBaseComponents", partName = "VerifyRelistItemRequest")
VerifyRelistItemRequestType verifyRelistItemRequest);
}
| [
"mamtha@mamtha-Dell.(none)"
] | mamtha@mamtha-Dell.(none) |
334d25b8081cddb0d42c08f42e40962f22a8bbea | 24e48610f33da12de0fbbe1f29bf59a83ef08e3d | /src/main/java/java_s04/PhotoResource.java | c56b86aecdbc6805392115d22eafbfa2aedd8ff8 | [] | no_license | masaemon7/hey | 65d6be3ec4579922b08275173a4516895a8904d0 | 1de2fcd31c21a46b847ed098f88bc7db523309cd | refs/heads/master | 2020-05-16T23:19:41.445436 | 2019-05-10T09:54:24 | 2019-05-10T09:54:24 | 183,361,319 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 944 | java | package java_s04;
import java.io.IOException;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.core.Response;
import beans.Photo;
import dao.PhotoDAO;
@Path("photos")
public class PhotoResource {
private final PhotoDAO photoDao = new PhotoDAO();
/**
* ID指定で画像情報を取得する。
*
* @param id 取得対象の画像のID
* @return 取得した画像を返す。データが存在しない場合はNoImage画像が返る。
* @throws IOException NoImage画像の読み込み時に問題があった場合に送出される
*/
@GET
@Path("{id}")
public Response findById(@PathParam("id") int id) throws IOException {
Photo photo = photoDao.findById(id);
if (photo == null) {
return Response.status(404)
.build();
} else {
return Response.status(200)
.encoding(photo.getContentType())
.entity(photo.getPhoto())
.build();
}
}
}
| [
"m-sugita@virtualex.local"
] | m-sugita@virtualex.local |
49c0568973dc199b7afe494c41173c5029ca5b92 | 672b01ca28220314ee1b5e8a55fe2f1485a80828 | /src/main/java/com/yb/onlineexamserver/controller/teacher/QuestionController.java | 1b010b740007937824ec18a9555280c31976783e | [] | no_license | seh75/online-exam-server | 61efb9dde83094603525fbdc56fa7ddc1078802d | ae4d9254cc4362e5f551a4f4d0dafe711542aaca | refs/heads/master | 2021-05-17T04:03:50.882410 | 2020-03-22T13:37:25 | 2020-03-22T13:37:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 4,572 | java | package com.yb.onlineexamserver.controller.teacher;
import com.yb.onlineexamserver.common.enums.OnlineExamExceptionEnum;
import com.yb.onlineexamserver.common.enums.statusenums.QuestionEnums;
import com.yb.onlineexamserver.common.exception.OnlineExamException;
import com.yb.onlineexamserver.common.result.CommonResult;
import com.yb.onlineexamserver.dto.QuestionDto;
import com.yb.onlineexamserver.mbg.model.Question;
import com.yb.onlineexamserver.requestparams.QuestionParam;
import com.yb.onlineexamserver.service.teacher.QuestionService;
import com.yb.onlineexamserver.utils.KeyUtils;
import com.yb.onlineexamserver.vo.QuestionVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.*;
import javax.validation.Valid;
import javax.validation.ValidationException;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.List;
import java.util.stream.Collectors;
/**
* @Auther: Yang
* @Date: 2019/11/13 21:39
* @Description:
*/
@RestController
public class QuestionController {
@Autowired
private QuestionService questionService;
@PostMapping("/questions")
public CommonResult insertQuestions(@RequestBody @Valid QuestionParam questionParam){
validate(questionParam);
questionService.insertQuestions(questionParam);
return CommonResult.success();
}
@PostMapping("/questions/list")
public CommonResult insertQuestionList(@RequestBody List<Question> questionList){
List<Question> questions = questionList.stream().map(question -> {
question.setId(KeyUtils.createUniqueKey());
question.setCreateTime(LocalDateTime.now());
question.setUpdateTime(LocalDateTime.now());
return question;
}).collect(Collectors.toList());
questionService.insertQuestionsList(questions);
return CommonResult.success();
}
@DeleteMapping("/questions/{id}")
public CommonResult deleteQuestions(@PathVariable("id") String id){
questionService.deleteQuestions(id);
return CommonResult.success();
}
@PutMapping("/questions/{id}")
public CommonResult updateQuestions(@PathVariable("id") String id,@RequestBody @Valid QuestionParam questionParam){
validate(questionParam);
questionService.updateQuestions(id,questionParam);
return CommonResult.success();
}
@GetMapping("/questions/{id}")
public CommonResult queryQuestionsById(@PathVariable("id") String id){
return CommonResult.success(questionService.queryQuestionsById(id));
}
@GetMapping("/questions")
public CommonResult queryQuestionsList(@RequestParam(value = "keyWord",defaultValue = "",required = false) String keyWord,
@RequestParam(value = "courseId",required = false) Integer courseId,
@RequestParam(value = "page",defaultValue = "1") Integer page,
@RequestParam(value = "pageSize",defaultValue = "10") Integer pageSize,
@RequestParam(value = "sort",defaultValue = "update_time") String sort){
List<QuestionVo> questionVos = questionService.queryQuestionsList(keyWord,courseId,page,pageSize,sort);
return CommonResult.success(questionVos);
}
@PostMapping("/questions/elasticsearch")
public CommonResult insertToElastic(){
questionService.insertToElastic();
return CommonResult.success();
}
private void validate(QuestionParam questionParam) {
Integer type = questionParam.getType();
if(type == QuestionEnums.SIMPLE_QUESTION.getCode() || type == QuestionEnums.MULTI_QUESTION.getCode() ){
if(StringUtils.isEmpty(questionParam.getOptions()) || StringUtils.isEmpty(questionParam.getRightOption())){
throw new OnlineExamException(OnlineExamExceptionEnum.BAD_ARGUMENT.getCode(),"选择题不能没有选项和答案");
}
}
else if(type == QuestionEnums.JUDGE_QUESTION.getCode()){
if(StringUtils.isEmpty(questionParam.getJudgeAnswer())){
throw new OnlineExamException(OnlineExamExceptionEnum.BAD_ARGUMENT.getCode(),"选择题不能没有选项和答案");
}
}else{
throw new OnlineExamException(OnlineExamExceptionEnum.BAD_ARGUMENT.getCode(),"客观题只有单选,多选和判断题");
}
}
}
| [
"840823561@qq.com"
] | 840823561@qq.com |
1ff0d26124199bf7556fa6649732fff5969f0aa8 | c5a77d094569f271ded0f3258f643194c72fde07 | /src/main/java/com/beta/redis/ListKey.java | 987e69fbf606cae1841a425ca66a6d4f09f49c8f | [] | no_license | williamzhenghi1/redpacketZ | 86922f62a578f08a2e9aa7b7f062b68cdc016e19 | f8e9fe975365e8b879ff62e008ffc31bdff59983 | refs/heads/master | 2020-04-20T06:33:40.469961 | 2019-02-07T08:13:15 | 2019-02-07T08:13:15 | 168,687,646 | 2 | 0 | null | null | null | null | UTF-8 | Java | false | false | 199 | java | package com.beta.redis;
public class ListKey extends BasePrefix {
public ListKey(String prefix) {
super(prefix);
}
public static OrderKey getListKey= new OrderKey("listKey");
}
| [
"zhenghongye2003@163.com"
] | zhenghongye2003@163.com |
9ace6cb5ea8814497e9957ca3435a33fdb67144a | c3de36b29ae80d6ac800a0700a73c67697b2b948 | /spring_hibernate/src/com/springmvc/hibernate/dao/EmployeeDAO.java | a56823db1a464a92acefbeaffe389b5505b5e765 | [] | no_license | AnjaliSundar/springrepo | a0ffc92dfc83a9bdf7e267f865d6b6e8ed918e09 | a7b3e0ba7ee42f80843a59e6488cf20107787a0f | refs/heads/master | 2021-04-15T05:09:42.731647 | 2018-04-03T12:16:17 | 2018-04-03T12:16:17 | 126,154,417 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 525 | java | package com.springmvc.hibernate.dao;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;
import com.springmvc.hibernate.entity.EmployeeEntity;
@Repository("employeedao")
public class EmployeeDAO {
@Autowired
private SessionFactory sessionFactory;
public void saveEmployee(EmployeeEntity employeeEntity) {
// TODO Auto-generated method stub
sessionFactory.openSession().saveOrUpdate(employeeEntity);
}
}
| [
"680946@cognizant.com"
] | 680946@cognizant.com |
97852e5424c56579f3b341cb6491763b31acff2b | 4e21594d3031e329e9d71eaccec481ba73bbdc9e | /distribution/tools/plugin-cli/src/test/java/org/elasticsearch/plugins/cli/ProxyMatcher.java | f20b95b94bbf89c6aeff9ef3f10955636c5787c1 | [
"Elastic-2.0",
"Apache-2.0",
"SSPL-1.0",
"LicenseRef-scancode-other-permissive"
] | permissive | diwasjoshi/elasticsearch | be4e0a9fdc4d0ae04591feb743ddeb6e27b0743f | 58ce0f94a0bbdf2576e0a00a62abe1854ee7fe2f | refs/heads/master | 2022-01-28T23:21:54.452421 | 2022-01-18T19:56:01 | 2022-01-18T19:56:01 | 122,881,381 | 0 | 0 | Apache-2.0 | 2018-02-25T21:59:00 | 2018-02-25T21:59:00 | null | UTF-8 | Java | false | false | 1,808 | java | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/
package org.elasticsearch.plugins.cli;
import org.elasticsearch.cli.SuppressForbidden;
import org.hamcrest.Description;
import org.hamcrest.TypeSafeMatcher;
import java.net.InetSocketAddress;
import java.net.Proxy;
class ProxyMatcher extends TypeSafeMatcher<Proxy> {
private final Proxy.Type type;
private final String hostname;
private final int port;
public static ProxyMatcher matchesProxy(Proxy.Type type, String hostname, int port) {
return new ProxyMatcher(type, hostname, port);
}
public static ProxyMatcher matchesProxy(Proxy.Type type) {
return new ProxyMatcher(type, null, -1);
}
ProxyMatcher(Proxy.Type type, String hostname, int port) {
this.type = type;
this.hostname = hostname;
this.port = port;
}
@Override
@SuppressForbidden(reason = "Proxy constructor uses InetSocketAddress")
protected boolean matchesSafely(Proxy proxy) {
if (proxy.type() != this.type) {
return false;
}
if (hostname == null) {
return true;
}
InetSocketAddress address = (InetSocketAddress) proxy.address();
return this.hostname.equals(address.getHostName()) && this.port == address.getPort();
}
@Override
public void describeTo(Description description) {
description.appendText("a proxy instance of type [" + type + "] pointing at [" + hostname + ":" + port + "]");
}
}
| [
"noreply@github.com"
] | noreply@github.com |
7ec5400f679d87724cf93dc20ed6f0e2dde021f2 | 0be6826ea59357f42ffe0aa07628abc2c9c556c2 | /hiz-web-services/src/com/tactusoft/webservice/client/objects/Bapisdhd1X.java | ddd7f7844afa265a1ce7e8dbe527a7b342c563a3 | [] | no_license | tactusoft/anexa | 900fdf1072ac4ff624877680dc4981ac3d5d380b | 8db0e544c18f958d8acd020dc70355e8a5fa76e9 | refs/heads/master | 2021-01-12T03:29:27.472185 | 2017-06-22T03:45:44 | 2017-06-22T03:45:44 | 78,216,940 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 129,545 | java | /**
* Bapisdhd1X.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.tactusoft.webservice.client.objects;
public class Bapisdhd1X implements java.io.Serializable {
private java.lang.String updateflag;
private java.lang.String docType;
private java.lang.String collectNo;
private java.lang.String salesOrg;
private java.lang.String distrChan;
private java.lang.String division;
private java.lang.String salesGrp;
private java.lang.String salesOff;
private java.lang.String reqDateH;
private java.lang.String dateType;
private java.lang.String purchDate;
private java.lang.String poMethod;
private java.lang.String poSupplem;
private java.lang.String ref1;
private java.lang.String name;
private java.lang.String telephone;
private java.lang.String priceGrp;
private java.lang.String custGroup;
private java.lang.String salesDist;
private java.lang.String priceList;
private java.lang.String incoterms1;
private java.lang.String incoterms2;
private java.lang.String pmnttrms;
private java.lang.String dlvBlock;
private java.lang.String billBlock;
private java.lang.String ordReason;
private java.lang.String complDlv;
private java.lang.String priceDate;
private java.lang.String qtValidF;
private java.lang.String qtValidT;
private java.lang.String ctValidF;
private java.lang.String ctValidT;
private java.lang.String custGrp1;
private java.lang.String custGrp2;
private java.lang.String custGrp3;
private java.lang.String custGrp4;
private java.lang.String custGrp5;
private java.lang.String purchNoC;
private java.lang.String purchNoS;
private java.lang.String poDatS;
private java.lang.String poMethS;
private java.lang.String ref1S;
private java.lang.String sdDocCat;
private java.lang.String docDate;
private java.lang.String warDate;
private java.lang.String shipCond;
private java.lang.String ppSearch;
private java.lang.String dunCount;
private java.lang.String dunDate;
private java.lang.String dlvschduse;
private java.lang.String pldlvstyp;
private java.lang.String refDoc;
private java.lang.String compCdeB;
private java.lang.String alttaxCls;
private java.lang.String taxClass2;
private java.lang.String taxClass3;
private java.lang.String taxClass4;
private java.lang.String taxClass5;
private java.lang.String taxClass6;
private java.lang.String taxClass7;
private java.lang.String taxClass8;
private java.lang.String taxClass9;
private java.lang.String refDocL;
private java.lang.String assNumber;
private java.lang.String refdocCat;
private java.lang.String ordcombIn;
private java.lang.String billSched;
private java.lang.String invoSched;
private java.lang.String mnInvoice;
private java.lang.String exrateFi;
private java.lang.String addValDy;
private java.lang.String fixValDy;
private java.lang.String pymtMeth;
private java.lang.String accntAsgn;
private java.lang.String exchgRate;
private java.lang.String billDate;
private java.lang.String servDate;
private java.lang.String dunnKey;
private java.lang.String dunnBlock;
private java.lang.String promotion;
private java.lang.String pmtgarPro;
private java.lang.String departmNo;
private java.lang.String recPoint;
private java.lang.String poitmNoS;
private java.lang.String docNumFi;
private java.lang.String cstcndgrp1;
private java.lang.String cstcndgrp2;
private java.lang.String cstcndgrp3;
private java.lang.String cstcndgrp4;
private java.lang.String cstcndgrp5;
private java.lang.String dlvTime;
private java.lang.String currency;
private java.lang.String taxdepCty;
private java.lang.String taxdstCty;
private java.lang.String eutriDeal;
private java.lang.String mastContr;
private java.lang.String refProc;
private java.lang.String chkprtauth;
private java.lang.String cmlqtyDat;
private java.lang.String version;
private java.lang.String notifNo;
private java.lang.String wbsElem;
private java.lang.String exchRateFiV;
private java.lang.String exchgRateV;
private java.lang.String fkkConacct;
private java.lang.String campaign;
private java.lang.String docClass;
private java.lang.String HCurr;
private java.lang.String shipType;
private java.lang.String SProcInd;
private java.lang.String lineTime;
private java.lang.String calcMotive;
public Bapisdhd1X() {
}
public Bapisdhd1X(
java.lang.String updateflag,
java.lang.String docType,
java.lang.String collectNo,
java.lang.String salesOrg,
java.lang.String distrChan,
java.lang.String division,
java.lang.String salesGrp,
java.lang.String salesOff,
java.lang.String reqDateH,
java.lang.String dateType,
java.lang.String purchDate,
java.lang.String poMethod,
java.lang.String poSupplem,
java.lang.String ref1,
java.lang.String name,
java.lang.String telephone,
java.lang.String priceGrp,
java.lang.String custGroup,
java.lang.String salesDist,
java.lang.String priceList,
java.lang.String incoterms1,
java.lang.String incoterms2,
java.lang.String pmnttrms,
java.lang.String dlvBlock,
java.lang.String billBlock,
java.lang.String ordReason,
java.lang.String complDlv,
java.lang.String priceDate,
java.lang.String qtValidF,
java.lang.String qtValidT,
java.lang.String ctValidF,
java.lang.String ctValidT,
java.lang.String custGrp1,
java.lang.String custGrp2,
java.lang.String custGrp3,
java.lang.String custGrp4,
java.lang.String custGrp5,
java.lang.String purchNoC,
java.lang.String purchNoS,
java.lang.String poDatS,
java.lang.String poMethS,
java.lang.String ref1S,
java.lang.String sdDocCat,
java.lang.String docDate,
java.lang.String warDate,
java.lang.String shipCond,
java.lang.String ppSearch,
java.lang.String dunCount,
java.lang.String dunDate,
java.lang.String dlvschduse,
java.lang.String pldlvstyp,
java.lang.String refDoc,
java.lang.String compCdeB,
java.lang.String alttaxCls,
java.lang.String taxClass2,
java.lang.String taxClass3,
java.lang.String taxClass4,
java.lang.String taxClass5,
java.lang.String taxClass6,
java.lang.String taxClass7,
java.lang.String taxClass8,
java.lang.String taxClass9,
java.lang.String refDocL,
java.lang.String assNumber,
java.lang.String refdocCat,
java.lang.String ordcombIn,
java.lang.String billSched,
java.lang.String invoSched,
java.lang.String mnInvoice,
java.lang.String exrateFi,
java.lang.String addValDy,
java.lang.String fixValDy,
java.lang.String pymtMeth,
java.lang.String accntAsgn,
java.lang.String exchgRate,
java.lang.String billDate,
java.lang.String servDate,
java.lang.String dunnKey,
java.lang.String dunnBlock,
java.lang.String promotion,
java.lang.String pmtgarPro,
java.lang.String departmNo,
java.lang.String recPoint,
java.lang.String poitmNoS,
java.lang.String docNumFi,
java.lang.String cstcndgrp1,
java.lang.String cstcndgrp2,
java.lang.String cstcndgrp3,
java.lang.String cstcndgrp4,
java.lang.String cstcndgrp5,
java.lang.String dlvTime,
java.lang.String currency,
java.lang.String taxdepCty,
java.lang.String taxdstCty,
java.lang.String eutriDeal,
java.lang.String mastContr,
java.lang.String refProc,
java.lang.String chkprtauth,
java.lang.String cmlqtyDat,
java.lang.String version,
java.lang.String notifNo,
java.lang.String wbsElem,
java.lang.String exchRateFiV,
java.lang.String exchgRateV,
java.lang.String fkkConacct,
java.lang.String campaign,
java.lang.String docClass,
java.lang.String HCurr,
java.lang.String shipType,
java.lang.String SProcInd,
java.lang.String lineTime,
java.lang.String calcMotive) {
this.updateflag = updateflag;
this.docType = docType;
this.collectNo = collectNo;
this.salesOrg = salesOrg;
this.distrChan = distrChan;
this.division = division;
this.salesGrp = salesGrp;
this.salesOff = salesOff;
this.reqDateH = reqDateH;
this.dateType = dateType;
this.purchDate = purchDate;
this.poMethod = poMethod;
this.poSupplem = poSupplem;
this.ref1 = ref1;
this.name = name;
this.telephone = telephone;
this.priceGrp = priceGrp;
this.custGroup = custGroup;
this.salesDist = salesDist;
this.priceList = priceList;
this.incoterms1 = incoterms1;
this.incoterms2 = incoterms2;
this.pmnttrms = pmnttrms;
this.dlvBlock = dlvBlock;
this.billBlock = billBlock;
this.ordReason = ordReason;
this.complDlv = complDlv;
this.priceDate = priceDate;
this.qtValidF = qtValidF;
this.qtValidT = qtValidT;
this.ctValidF = ctValidF;
this.ctValidT = ctValidT;
this.custGrp1 = custGrp1;
this.custGrp2 = custGrp2;
this.custGrp3 = custGrp3;
this.custGrp4 = custGrp4;
this.custGrp5 = custGrp5;
this.purchNoC = purchNoC;
this.purchNoS = purchNoS;
this.poDatS = poDatS;
this.poMethS = poMethS;
this.ref1S = ref1S;
this.sdDocCat = sdDocCat;
this.docDate = docDate;
this.warDate = warDate;
this.shipCond = shipCond;
this.ppSearch = ppSearch;
this.dunCount = dunCount;
this.dunDate = dunDate;
this.dlvschduse = dlvschduse;
this.pldlvstyp = pldlvstyp;
this.refDoc = refDoc;
this.compCdeB = compCdeB;
this.alttaxCls = alttaxCls;
this.taxClass2 = taxClass2;
this.taxClass3 = taxClass3;
this.taxClass4 = taxClass4;
this.taxClass5 = taxClass5;
this.taxClass6 = taxClass6;
this.taxClass7 = taxClass7;
this.taxClass8 = taxClass8;
this.taxClass9 = taxClass9;
this.refDocL = refDocL;
this.assNumber = assNumber;
this.refdocCat = refdocCat;
this.ordcombIn = ordcombIn;
this.billSched = billSched;
this.invoSched = invoSched;
this.mnInvoice = mnInvoice;
this.exrateFi = exrateFi;
this.addValDy = addValDy;
this.fixValDy = fixValDy;
this.pymtMeth = pymtMeth;
this.accntAsgn = accntAsgn;
this.exchgRate = exchgRate;
this.billDate = billDate;
this.servDate = servDate;
this.dunnKey = dunnKey;
this.dunnBlock = dunnBlock;
this.promotion = promotion;
this.pmtgarPro = pmtgarPro;
this.departmNo = departmNo;
this.recPoint = recPoint;
this.poitmNoS = poitmNoS;
this.docNumFi = docNumFi;
this.cstcndgrp1 = cstcndgrp1;
this.cstcndgrp2 = cstcndgrp2;
this.cstcndgrp3 = cstcndgrp3;
this.cstcndgrp4 = cstcndgrp4;
this.cstcndgrp5 = cstcndgrp5;
this.dlvTime = dlvTime;
this.currency = currency;
this.taxdepCty = taxdepCty;
this.taxdstCty = taxdstCty;
this.eutriDeal = eutriDeal;
this.mastContr = mastContr;
this.refProc = refProc;
this.chkprtauth = chkprtauth;
this.cmlqtyDat = cmlqtyDat;
this.version = version;
this.notifNo = notifNo;
this.wbsElem = wbsElem;
this.exchRateFiV = exchRateFiV;
this.exchgRateV = exchgRateV;
this.fkkConacct = fkkConacct;
this.campaign = campaign;
this.docClass = docClass;
this.HCurr = HCurr;
this.shipType = shipType;
this.SProcInd = SProcInd;
this.lineTime = lineTime;
this.calcMotive = calcMotive;
}
/**
* Gets the updateflag value for this Bapisdhd1X.
*
* @return updateflag
*/
public java.lang.String getUpdateflag() {
return updateflag;
}
/**
* Sets the updateflag value for this Bapisdhd1X.
*
* @param updateflag
*/
public void setUpdateflag(java.lang.String updateflag) {
this.updateflag = updateflag;
}
/**
* Gets the docType value for this Bapisdhd1X.
*
* @return docType
*/
public java.lang.String getDocType() {
return docType;
}
/**
* Sets the docType value for this Bapisdhd1X.
*
* @param docType
*/
public void setDocType(java.lang.String docType) {
this.docType = docType;
}
/**
* Gets the collectNo value for this Bapisdhd1X.
*
* @return collectNo
*/
public java.lang.String getCollectNo() {
return collectNo;
}
/**
* Sets the collectNo value for this Bapisdhd1X.
*
* @param collectNo
*/
public void setCollectNo(java.lang.String collectNo) {
this.collectNo = collectNo;
}
/**
* Gets the salesOrg value for this Bapisdhd1X.
*
* @return salesOrg
*/
public java.lang.String getSalesOrg() {
return salesOrg;
}
/**
* Sets the salesOrg value for this Bapisdhd1X.
*
* @param salesOrg
*/
public void setSalesOrg(java.lang.String salesOrg) {
this.salesOrg = salesOrg;
}
/**
* Gets the distrChan value for this Bapisdhd1X.
*
* @return distrChan
*/
public java.lang.String getDistrChan() {
return distrChan;
}
/**
* Sets the distrChan value for this Bapisdhd1X.
*
* @param distrChan
*/
public void setDistrChan(java.lang.String distrChan) {
this.distrChan = distrChan;
}
/**
* Gets the division value for this Bapisdhd1X.
*
* @return division
*/
public java.lang.String getDivision() {
return division;
}
/**
* Sets the division value for this Bapisdhd1X.
*
* @param division
*/
public void setDivision(java.lang.String division) {
this.division = division;
}
/**
* Gets the salesGrp value for this Bapisdhd1X.
*
* @return salesGrp
*/
public java.lang.String getSalesGrp() {
return salesGrp;
}
/**
* Sets the salesGrp value for this Bapisdhd1X.
*
* @param salesGrp
*/
public void setSalesGrp(java.lang.String salesGrp) {
this.salesGrp = salesGrp;
}
/**
* Gets the salesOff value for this Bapisdhd1X.
*
* @return salesOff
*/
public java.lang.String getSalesOff() {
return salesOff;
}
/**
* Sets the salesOff value for this Bapisdhd1X.
*
* @param salesOff
*/
public void setSalesOff(java.lang.String salesOff) {
this.salesOff = salesOff;
}
/**
* Gets the reqDateH value for this Bapisdhd1X.
*
* @return reqDateH
*/
public java.lang.String getReqDateH() {
return reqDateH;
}
/**
* Sets the reqDateH value for this Bapisdhd1X.
*
* @param reqDateH
*/
public void setReqDateH(java.lang.String reqDateH) {
this.reqDateH = reqDateH;
}
/**
* Gets the dateType value for this Bapisdhd1X.
*
* @return dateType
*/
public java.lang.String getDateType() {
return dateType;
}
/**
* Sets the dateType value for this Bapisdhd1X.
*
* @param dateType
*/
public void setDateType(java.lang.String dateType) {
this.dateType = dateType;
}
/**
* Gets the purchDate value for this Bapisdhd1X.
*
* @return purchDate
*/
public java.lang.String getPurchDate() {
return purchDate;
}
/**
* Sets the purchDate value for this Bapisdhd1X.
*
* @param purchDate
*/
public void setPurchDate(java.lang.String purchDate) {
this.purchDate = purchDate;
}
/**
* Gets the poMethod value for this Bapisdhd1X.
*
* @return poMethod
*/
public java.lang.String getPoMethod() {
return poMethod;
}
/**
* Sets the poMethod value for this Bapisdhd1X.
*
* @param poMethod
*/
public void setPoMethod(java.lang.String poMethod) {
this.poMethod = poMethod;
}
/**
* Gets the poSupplem value for this Bapisdhd1X.
*
* @return poSupplem
*/
public java.lang.String getPoSupplem() {
return poSupplem;
}
/**
* Sets the poSupplem value for this Bapisdhd1X.
*
* @param poSupplem
*/
public void setPoSupplem(java.lang.String poSupplem) {
this.poSupplem = poSupplem;
}
/**
* Gets the ref1 value for this Bapisdhd1X.
*
* @return ref1
*/
public java.lang.String getRef1() {
return ref1;
}
/**
* Sets the ref1 value for this Bapisdhd1X.
*
* @param ref1
*/
public void setRef1(java.lang.String ref1) {
this.ref1 = ref1;
}
/**
* Gets the name value for this Bapisdhd1X.
*
* @return name
*/
public java.lang.String getName() {
return name;
}
/**
* Sets the name value for this Bapisdhd1X.
*
* @param name
*/
public void setName(java.lang.String name) {
this.name = name;
}
/**
* Gets the telephone value for this Bapisdhd1X.
*
* @return telephone
*/
public java.lang.String getTelephone() {
return telephone;
}
/**
* Sets the telephone value for this Bapisdhd1X.
*
* @param telephone
*/
public void setTelephone(java.lang.String telephone) {
this.telephone = telephone;
}
/**
* Gets the priceGrp value for this Bapisdhd1X.
*
* @return priceGrp
*/
public java.lang.String getPriceGrp() {
return priceGrp;
}
/**
* Sets the priceGrp value for this Bapisdhd1X.
*
* @param priceGrp
*/
public void setPriceGrp(java.lang.String priceGrp) {
this.priceGrp = priceGrp;
}
/**
* Gets the custGroup value for this Bapisdhd1X.
*
* @return custGroup
*/
public java.lang.String getCustGroup() {
return custGroup;
}
/**
* Sets the custGroup value for this Bapisdhd1X.
*
* @param custGroup
*/
public void setCustGroup(java.lang.String custGroup) {
this.custGroup = custGroup;
}
/**
* Gets the salesDist value for this Bapisdhd1X.
*
* @return salesDist
*/
public java.lang.String getSalesDist() {
return salesDist;
}
/**
* Sets the salesDist value for this Bapisdhd1X.
*
* @param salesDist
*/
public void setSalesDist(java.lang.String salesDist) {
this.salesDist = salesDist;
}
/**
* Gets the priceList value for this Bapisdhd1X.
*
* @return priceList
*/
public java.lang.String getPriceList() {
return priceList;
}
/**
* Sets the priceList value for this Bapisdhd1X.
*
* @param priceList
*/
public void setPriceList(java.lang.String priceList) {
this.priceList = priceList;
}
/**
* Gets the incoterms1 value for this Bapisdhd1X.
*
* @return incoterms1
*/
public java.lang.String getIncoterms1() {
return incoterms1;
}
/**
* Sets the incoterms1 value for this Bapisdhd1X.
*
* @param incoterms1
*/
public void setIncoterms1(java.lang.String incoterms1) {
this.incoterms1 = incoterms1;
}
/**
* Gets the incoterms2 value for this Bapisdhd1X.
*
* @return incoterms2
*/
public java.lang.String getIncoterms2() {
return incoterms2;
}
/**
* Sets the incoterms2 value for this Bapisdhd1X.
*
* @param incoterms2
*/
public void setIncoterms2(java.lang.String incoterms2) {
this.incoterms2 = incoterms2;
}
/**
* Gets the pmnttrms value for this Bapisdhd1X.
*
* @return pmnttrms
*/
public java.lang.String getPmnttrms() {
return pmnttrms;
}
/**
* Sets the pmnttrms value for this Bapisdhd1X.
*
* @param pmnttrms
*/
public void setPmnttrms(java.lang.String pmnttrms) {
this.pmnttrms = pmnttrms;
}
/**
* Gets the dlvBlock value for this Bapisdhd1X.
*
* @return dlvBlock
*/
public java.lang.String getDlvBlock() {
return dlvBlock;
}
/**
* Sets the dlvBlock value for this Bapisdhd1X.
*
* @param dlvBlock
*/
public void setDlvBlock(java.lang.String dlvBlock) {
this.dlvBlock = dlvBlock;
}
/**
* Gets the billBlock value for this Bapisdhd1X.
*
* @return billBlock
*/
public java.lang.String getBillBlock() {
return billBlock;
}
/**
* Sets the billBlock value for this Bapisdhd1X.
*
* @param billBlock
*/
public void setBillBlock(java.lang.String billBlock) {
this.billBlock = billBlock;
}
/**
* Gets the ordReason value for this Bapisdhd1X.
*
* @return ordReason
*/
public java.lang.String getOrdReason() {
return ordReason;
}
/**
* Sets the ordReason value for this Bapisdhd1X.
*
* @param ordReason
*/
public void setOrdReason(java.lang.String ordReason) {
this.ordReason = ordReason;
}
/**
* Gets the complDlv value for this Bapisdhd1X.
*
* @return complDlv
*/
public java.lang.String getComplDlv() {
return complDlv;
}
/**
* Sets the complDlv value for this Bapisdhd1X.
*
* @param complDlv
*/
public void setComplDlv(java.lang.String complDlv) {
this.complDlv = complDlv;
}
/**
* Gets the priceDate value for this Bapisdhd1X.
*
* @return priceDate
*/
public java.lang.String getPriceDate() {
return priceDate;
}
/**
* Sets the priceDate value for this Bapisdhd1X.
*
* @param priceDate
*/
public void setPriceDate(java.lang.String priceDate) {
this.priceDate = priceDate;
}
/**
* Gets the qtValidF value for this Bapisdhd1X.
*
* @return qtValidF
*/
public java.lang.String getQtValidF() {
return qtValidF;
}
/**
* Sets the qtValidF value for this Bapisdhd1X.
*
* @param qtValidF
*/
public void setQtValidF(java.lang.String qtValidF) {
this.qtValidF = qtValidF;
}
/**
* Gets the qtValidT value for this Bapisdhd1X.
*
* @return qtValidT
*/
public java.lang.String getQtValidT() {
return qtValidT;
}
/**
* Sets the qtValidT value for this Bapisdhd1X.
*
* @param qtValidT
*/
public void setQtValidT(java.lang.String qtValidT) {
this.qtValidT = qtValidT;
}
/**
* Gets the ctValidF value for this Bapisdhd1X.
*
* @return ctValidF
*/
public java.lang.String getCtValidF() {
return ctValidF;
}
/**
* Sets the ctValidF value for this Bapisdhd1X.
*
* @param ctValidF
*/
public void setCtValidF(java.lang.String ctValidF) {
this.ctValidF = ctValidF;
}
/**
* Gets the ctValidT value for this Bapisdhd1X.
*
* @return ctValidT
*/
public java.lang.String getCtValidT() {
return ctValidT;
}
/**
* Sets the ctValidT value for this Bapisdhd1X.
*
* @param ctValidT
*/
public void setCtValidT(java.lang.String ctValidT) {
this.ctValidT = ctValidT;
}
/**
* Gets the custGrp1 value for this Bapisdhd1X.
*
* @return custGrp1
*/
public java.lang.String getCustGrp1() {
return custGrp1;
}
/**
* Sets the custGrp1 value for this Bapisdhd1X.
*
* @param custGrp1
*/
public void setCustGrp1(java.lang.String custGrp1) {
this.custGrp1 = custGrp1;
}
/**
* Gets the custGrp2 value for this Bapisdhd1X.
*
* @return custGrp2
*/
public java.lang.String getCustGrp2() {
return custGrp2;
}
/**
* Sets the custGrp2 value for this Bapisdhd1X.
*
* @param custGrp2
*/
public void setCustGrp2(java.lang.String custGrp2) {
this.custGrp2 = custGrp2;
}
/**
* Gets the custGrp3 value for this Bapisdhd1X.
*
* @return custGrp3
*/
public java.lang.String getCustGrp3() {
return custGrp3;
}
/**
* Sets the custGrp3 value for this Bapisdhd1X.
*
* @param custGrp3
*/
public void setCustGrp3(java.lang.String custGrp3) {
this.custGrp3 = custGrp3;
}
/**
* Gets the custGrp4 value for this Bapisdhd1X.
*
* @return custGrp4
*/
public java.lang.String getCustGrp4() {
return custGrp4;
}
/**
* Sets the custGrp4 value for this Bapisdhd1X.
*
* @param custGrp4
*/
public void setCustGrp4(java.lang.String custGrp4) {
this.custGrp4 = custGrp4;
}
/**
* Gets the custGrp5 value for this Bapisdhd1X.
*
* @return custGrp5
*/
public java.lang.String getCustGrp5() {
return custGrp5;
}
/**
* Sets the custGrp5 value for this Bapisdhd1X.
*
* @param custGrp5
*/
public void setCustGrp5(java.lang.String custGrp5) {
this.custGrp5 = custGrp5;
}
/**
* Gets the purchNoC value for this Bapisdhd1X.
*
* @return purchNoC
*/
public java.lang.String getPurchNoC() {
return purchNoC;
}
/**
* Sets the purchNoC value for this Bapisdhd1X.
*
* @param purchNoC
*/
public void setPurchNoC(java.lang.String purchNoC) {
this.purchNoC = purchNoC;
}
/**
* Gets the purchNoS value for this Bapisdhd1X.
*
* @return purchNoS
*/
public java.lang.String getPurchNoS() {
return purchNoS;
}
/**
* Sets the purchNoS value for this Bapisdhd1X.
*
* @param purchNoS
*/
public void setPurchNoS(java.lang.String purchNoS) {
this.purchNoS = purchNoS;
}
/**
* Gets the poDatS value for this Bapisdhd1X.
*
* @return poDatS
*/
public java.lang.String getPoDatS() {
return poDatS;
}
/**
* Sets the poDatS value for this Bapisdhd1X.
*
* @param poDatS
*/
public void setPoDatS(java.lang.String poDatS) {
this.poDatS = poDatS;
}
/**
* Gets the poMethS value for this Bapisdhd1X.
*
* @return poMethS
*/
public java.lang.String getPoMethS() {
return poMethS;
}
/**
* Sets the poMethS value for this Bapisdhd1X.
*
* @param poMethS
*/
public void setPoMethS(java.lang.String poMethS) {
this.poMethS = poMethS;
}
/**
* Gets the ref1S value for this Bapisdhd1X.
*
* @return ref1S
*/
public java.lang.String getRef1S() {
return ref1S;
}
/**
* Sets the ref1S value for this Bapisdhd1X.
*
* @param ref1S
*/
public void setRef1S(java.lang.String ref1S) {
this.ref1S = ref1S;
}
/**
* Gets the sdDocCat value for this Bapisdhd1X.
*
* @return sdDocCat
*/
public java.lang.String getSdDocCat() {
return sdDocCat;
}
/**
* Sets the sdDocCat value for this Bapisdhd1X.
*
* @param sdDocCat
*/
public void setSdDocCat(java.lang.String sdDocCat) {
this.sdDocCat = sdDocCat;
}
/**
* Gets the docDate value for this Bapisdhd1X.
*
* @return docDate
*/
public java.lang.String getDocDate() {
return docDate;
}
/**
* Sets the docDate value for this Bapisdhd1X.
*
* @param docDate
*/
public void setDocDate(java.lang.String docDate) {
this.docDate = docDate;
}
/**
* Gets the warDate value for this Bapisdhd1X.
*
* @return warDate
*/
public java.lang.String getWarDate() {
return warDate;
}
/**
* Sets the warDate value for this Bapisdhd1X.
*
* @param warDate
*/
public void setWarDate(java.lang.String warDate) {
this.warDate = warDate;
}
/**
* Gets the shipCond value for this Bapisdhd1X.
*
* @return shipCond
*/
public java.lang.String getShipCond() {
return shipCond;
}
/**
* Sets the shipCond value for this Bapisdhd1X.
*
* @param shipCond
*/
public void setShipCond(java.lang.String shipCond) {
this.shipCond = shipCond;
}
/**
* Gets the ppSearch value for this Bapisdhd1X.
*
* @return ppSearch
*/
public java.lang.String getPpSearch() {
return ppSearch;
}
/**
* Sets the ppSearch value for this Bapisdhd1X.
*
* @param ppSearch
*/
public void setPpSearch(java.lang.String ppSearch) {
this.ppSearch = ppSearch;
}
/**
* Gets the dunCount value for this Bapisdhd1X.
*
* @return dunCount
*/
public java.lang.String getDunCount() {
return dunCount;
}
/**
* Sets the dunCount value for this Bapisdhd1X.
*
* @param dunCount
*/
public void setDunCount(java.lang.String dunCount) {
this.dunCount = dunCount;
}
/**
* Gets the dunDate value for this Bapisdhd1X.
*
* @return dunDate
*/
public java.lang.String getDunDate() {
return dunDate;
}
/**
* Sets the dunDate value for this Bapisdhd1X.
*
* @param dunDate
*/
public void setDunDate(java.lang.String dunDate) {
this.dunDate = dunDate;
}
/**
* Gets the dlvschduse value for this Bapisdhd1X.
*
* @return dlvschduse
*/
public java.lang.String getDlvschduse() {
return dlvschduse;
}
/**
* Sets the dlvschduse value for this Bapisdhd1X.
*
* @param dlvschduse
*/
public void setDlvschduse(java.lang.String dlvschduse) {
this.dlvschduse = dlvschduse;
}
/**
* Gets the pldlvstyp value for this Bapisdhd1X.
*
* @return pldlvstyp
*/
public java.lang.String getPldlvstyp() {
return pldlvstyp;
}
/**
* Sets the pldlvstyp value for this Bapisdhd1X.
*
* @param pldlvstyp
*/
public void setPldlvstyp(java.lang.String pldlvstyp) {
this.pldlvstyp = pldlvstyp;
}
/**
* Gets the refDoc value for this Bapisdhd1X.
*
* @return refDoc
*/
public java.lang.String getRefDoc() {
return refDoc;
}
/**
* Sets the refDoc value for this Bapisdhd1X.
*
* @param refDoc
*/
public void setRefDoc(java.lang.String refDoc) {
this.refDoc = refDoc;
}
/**
* Gets the compCdeB value for this Bapisdhd1X.
*
* @return compCdeB
*/
public java.lang.String getCompCdeB() {
return compCdeB;
}
/**
* Sets the compCdeB value for this Bapisdhd1X.
*
* @param compCdeB
*/
public void setCompCdeB(java.lang.String compCdeB) {
this.compCdeB = compCdeB;
}
/**
* Gets the alttaxCls value for this Bapisdhd1X.
*
* @return alttaxCls
*/
public java.lang.String getAlttaxCls() {
return alttaxCls;
}
/**
* Sets the alttaxCls value for this Bapisdhd1X.
*
* @param alttaxCls
*/
public void setAlttaxCls(java.lang.String alttaxCls) {
this.alttaxCls = alttaxCls;
}
/**
* Gets the taxClass2 value for this Bapisdhd1X.
*
* @return taxClass2
*/
public java.lang.String getTaxClass2() {
return taxClass2;
}
/**
* Sets the taxClass2 value for this Bapisdhd1X.
*
* @param taxClass2
*/
public void setTaxClass2(java.lang.String taxClass2) {
this.taxClass2 = taxClass2;
}
/**
* Gets the taxClass3 value for this Bapisdhd1X.
*
* @return taxClass3
*/
public java.lang.String getTaxClass3() {
return taxClass3;
}
/**
* Sets the taxClass3 value for this Bapisdhd1X.
*
* @param taxClass3
*/
public void setTaxClass3(java.lang.String taxClass3) {
this.taxClass3 = taxClass3;
}
/**
* Gets the taxClass4 value for this Bapisdhd1X.
*
* @return taxClass4
*/
public java.lang.String getTaxClass4() {
return taxClass4;
}
/**
* Sets the taxClass4 value for this Bapisdhd1X.
*
* @param taxClass4
*/
public void setTaxClass4(java.lang.String taxClass4) {
this.taxClass4 = taxClass4;
}
/**
* Gets the taxClass5 value for this Bapisdhd1X.
*
* @return taxClass5
*/
public java.lang.String getTaxClass5() {
return taxClass5;
}
/**
* Sets the taxClass5 value for this Bapisdhd1X.
*
* @param taxClass5
*/
public void setTaxClass5(java.lang.String taxClass5) {
this.taxClass5 = taxClass5;
}
/**
* Gets the taxClass6 value for this Bapisdhd1X.
*
* @return taxClass6
*/
public java.lang.String getTaxClass6() {
return taxClass6;
}
/**
* Sets the taxClass6 value for this Bapisdhd1X.
*
* @param taxClass6
*/
public void setTaxClass6(java.lang.String taxClass6) {
this.taxClass6 = taxClass6;
}
/**
* Gets the taxClass7 value for this Bapisdhd1X.
*
* @return taxClass7
*/
public java.lang.String getTaxClass7() {
return taxClass7;
}
/**
* Sets the taxClass7 value for this Bapisdhd1X.
*
* @param taxClass7
*/
public void setTaxClass7(java.lang.String taxClass7) {
this.taxClass7 = taxClass7;
}
/**
* Gets the taxClass8 value for this Bapisdhd1X.
*
* @return taxClass8
*/
public java.lang.String getTaxClass8() {
return taxClass8;
}
/**
* Sets the taxClass8 value for this Bapisdhd1X.
*
* @param taxClass8
*/
public void setTaxClass8(java.lang.String taxClass8) {
this.taxClass8 = taxClass8;
}
/**
* Gets the taxClass9 value for this Bapisdhd1X.
*
* @return taxClass9
*/
public java.lang.String getTaxClass9() {
return taxClass9;
}
/**
* Sets the taxClass9 value for this Bapisdhd1X.
*
* @param taxClass9
*/
public void setTaxClass9(java.lang.String taxClass9) {
this.taxClass9 = taxClass9;
}
/**
* Gets the refDocL value for this Bapisdhd1X.
*
* @return refDocL
*/
public java.lang.String getRefDocL() {
return refDocL;
}
/**
* Sets the refDocL value for this Bapisdhd1X.
*
* @param refDocL
*/
public void setRefDocL(java.lang.String refDocL) {
this.refDocL = refDocL;
}
/**
* Gets the assNumber value for this Bapisdhd1X.
*
* @return assNumber
*/
public java.lang.String getAssNumber() {
return assNumber;
}
/**
* Sets the assNumber value for this Bapisdhd1X.
*
* @param assNumber
*/
public void setAssNumber(java.lang.String assNumber) {
this.assNumber = assNumber;
}
/**
* Gets the refdocCat value for this Bapisdhd1X.
*
* @return refdocCat
*/
public java.lang.String getRefdocCat() {
return refdocCat;
}
/**
* Sets the refdocCat value for this Bapisdhd1X.
*
* @param refdocCat
*/
public void setRefdocCat(java.lang.String refdocCat) {
this.refdocCat = refdocCat;
}
/**
* Gets the ordcombIn value for this Bapisdhd1X.
*
* @return ordcombIn
*/
public java.lang.String getOrdcombIn() {
return ordcombIn;
}
/**
* Sets the ordcombIn value for this Bapisdhd1X.
*
* @param ordcombIn
*/
public void setOrdcombIn(java.lang.String ordcombIn) {
this.ordcombIn = ordcombIn;
}
/**
* Gets the billSched value for this Bapisdhd1X.
*
* @return billSched
*/
public java.lang.String getBillSched() {
return billSched;
}
/**
* Sets the billSched value for this Bapisdhd1X.
*
* @param billSched
*/
public void setBillSched(java.lang.String billSched) {
this.billSched = billSched;
}
/**
* Gets the invoSched value for this Bapisdhd1X.
*
* @return invoSched
*/
public java.lang.String getInvoSched() {
return invoSched;
}
/**
* Sets the invoSched value for this Bapisdhd1X.
*
* @param invoSched
*/
public void setInvoSched(java.lang.String invoSched) {
this.invoSched = invoSched;
}
/**
* Gets the mnInvoice value for this Bapisdhd1X.
*
* @return mnInvoice
*/
public java.lang.String getMnInvoice() {
return mnInvoice;
}
/**
* Sets the mnInvoice value for this Bapisdhd1X.
*
* @param mnInvoice
*/
public void setMnInvoice(java.lang.String mnInvoice) {
this.mnInvoice = mnInvoice;
}
/**
* Gets the exrateFi value for this Bapisdhd1X.
*
* @return exrateFi
*/
public java.lang.String getExrateFi() {
return exrateFi;
}
/**
* Sets the exrateFi value for this Bapisdhd1X.
*
* @param exrateFi
*/
public void setExrateFi(java.lang.String exrateFi) {
this.exrateFi = exrateFi;
}
/**
* Gets the addValDy value for this Bapisdhd1X.
*
* @return addValDy
*/
public java.lang.String getAddValDy() {
return addValDy;
}
/**
* Sets the addValDy value for this Bapisdhd1X.
*
* @param addValDy
*/
public void setAddValDy(java.lang.String addValDy) {
this.addValDy = addValDy;
}
/**
* Gets the fixValDy value for this Bapisdhd1X.
*
* @return fixValDy
*/
public java.lang.String getFixValDy() {
return fixValDy;
}
/**
* Sets the fixValDy value for this Bapisdhd1X.
*
* @param fixValDy
*/
public void setFixValDy(java.lang.String fixValDy) {
this.fixValDy = fixValDy;
}
/**
* Gets the pymtMeth value for this Bapisdhd1X.
*
* @return pymtMeth
*/
public java.lang.String getPymtMeth() {
return pymtMeth;
}
/**
* Sets the pymtMeth value for this Bapisdhd1X.
*
* @param pymtMeth
*/
public void setPymtMeth(java.lang.String pymtMeth) {
this.pymtMeth = pymtMeth;
}
/**
* Gets the accntAsgn value for this Bapisdhd1X.
*
* @return accntAsgn
*/
public java.lang.String getAccntAsgn() {
return accntAsgn;
}
/**
* Sets the accntAsgn value for this Bapisdhd1X.
*
* @param accntAsgn
*/
public void setAccntAsgn(java.lang.String accntAsgn) {
this.accntAsgn = accntAsgn;
}
/**
* Gets the exchgRate value for this Bapisdhd1X.
*
* @return exchgRate
*/
public java.lang.String getExchgRate() {
return exchgRate;
}
/**
* Sets the exchgRate value for this Bapisdhd1X.
*
* @param exchgRate
*/
public void setExchgRate(java.lang.String exchgRate) {
this.exchgRate = exchgRate;
}
/**
* Gets the billDate value for this Bapisdhd1X.
*
* @return billDate
*/
public java.lang.String getBillDate() {
return billDate;
}
/**
* Sets the billDate value for this Bapisdhd1X.
*
* @param billDate
*/
public void setBillDate(java.lang.String billDate) {
this.billDate = billDate;
}
/**
* Gets the servDate value for this Bapisdhd1X.
*
* @return servDate
*/
public java.lang.String getServDate() {
return servDate;
}
/**
* Sets the servDate value for this Bapisdhd1X.
*
* @param servDate
*/
public void setServDate(java.lang.String servDate) {
this.servDate = servDate;
}
/**
* Gets the dunnKey value for this Bapisdhd1X.
*
* @return dunnKey
*/
public java.lang.String getDunnKey() {
return dunnKey;
}
/**
* Sets the dunnKey value for this Bapisdhd1X.
*
* @param dunnKey
*/
public void setDunnKey(java.lang.String dunnKey) {
this.dunnKey = dunnKey;
}
/**
* Gets the dunnBlock value for this Bapisdhd1X.
*
* @return dunnBlock
*/
public java.lang.String getDunnBlock() {
return dunnBlock;
}
/**
* Sets the dunnBlock value for this Bapisdhd1X.
*
* @param dunnBlock
*/
public void setDunnBlock(java.lang.String dunnBlock) {
this.dunnBlock = dunnBlock;
}
/**
* Gets the promotion value for this Bapisdhd1X.
*
* @return promotion
*/
public java.lang.String getPromotion() {
return promotion;
}
/**
* Sets the promotion value for this Bapisdhd1X.
*
* @param promotion
*/
public void setPromotion(java.lang.String promotion) {
this.promotion = promotion;
}
/**
* Gets the pmtgarPro value for this Bapisdhd1X.
*
* @return pmtgarPro
*/
public java.lang.String getPmtgarPro() {
return pmtgarPro;
}
/**
* Sets the pmtgarPro value for this Bapisdhd1X.
*
* @param pmtgarPro
*/
public void setPmtgarPro(java.lang.String pmtgarPro) {
this.pmtgarPro = pmtgarPro;
}
/**
* Gets the departmNo value for this Bapisdhd1X.
*
* @return departmNo
*/
public java.lang.String getDepartmNo() {
return departmNo;
}
/**
* Sets the departmNo value for this Bapisdhd1X.
*
* @param departmNo
*/
public void setDepartmNo(java.lang.String departmNo) {
this.departmNo = departmNo;
}
/**
* Gets the recPoint value for this Bapisdhd1X.
*
* @return recPoint
*/
public java.lang.String getRecPoint() {
return recPoint;
}
/**
* Sets the recPoint value for this Bapisdhd1X.
*
* @param recPoint
*/
public void setRecPoint(java.lang.String recPoint) {
this.recPoint = recPoint;
}
/**
* Gets the poitmNoS value for this Bapisdhd1X.
*
* @return poitmNoS
*/
public java.lang.String getPoitmNoS() {
return poitmNoS;
}
/**
* Sets the poitmNoS value for this Bapisdhd1X.
*
* @param poitmNoS
*/
public void setPoitmNoS(java.lang.String poitmNoS) {
this.poitmNoS = poitmNoS;
}
/**
* Gets the docNumFi value for this Bapisdhd1X.
*
* @return docNumFi
*/
public java.lang.String getDocNumFi() {
return docNumFi;
}
/**
* Sets the docNumFi value for this Bapisdhd1X.
*
* @param docNumFi
*/
public void setDocNumFi(java.lang.String docNumFi) {
this.docNumFi = docNumFi;
}
/**
* Gets the cstcndgrp1 value for this Bapisdhd1X.
*
* @return cstcndgrp1
*/
public java.lang.String getCstcndgrp1() {
return cstcndgrp1;
}
/**
* Sets the cstcndgrp1 value for this Bapisdhd1X.
*
* @param cstcndgrp1
*/
public void setCstcndgrp1(java.lang.String cstcndgrp1) {
this.cstcndgrp1 = cstcndgrp1;
}
/**
* Gets the cstcndgrp2 value for this Bapisdhd1X.
*
* @return cstcndgrp2
*/
public java.lang.String getCstcndgrp2() {
return cstcndgrp2;
}
/**
* Sets the cstcndgrp2 value for this Bapisdhd1X.
*
* @param cstcndgrp2
*/
public void setCstcndgrp2(java.lang.String cstcndgrp2) {
this.cstcndgrp2 = cstcndgrp2;
}
/**
* Gets the cstcndgrp3 value for this Bapisdhd1X.
*
* @return cstcndgrp3
*/
public java.lang.String getCstcndgrp3() {
return cstcndgrp3;
}
/**
* Sets the cstcndgrp3 value for this Bapisdhd1X.
*
* @param cstcndgrp3
*/
public void setCstcndgrp3(java.lang.String cstcndgrp3) {
this.cstcndgrp3 = cstcndgrp3;
}
/**
* Gets the cstcndgrp4 value for this Bapisdhd1X.
*
* @return cstcndgrp4
*/
public java.lang.String getCstcndgrp4() {
return cstcndgrp4;
}
/**
* Sets the cstcndgrp4 value for this Bapisdhd1X.
*
* @param cstcndgrp4
*/
public void setCstcndgrp4(java.lang.String cstcndgrp4) {
this.cstcndgrp4 = cstcndgrp4;
}
/**
* Gets the cstcndgrp5 value for this Bapisdhd1X.
*
* @return cstcndgrp5
*/
public java.lang.String getCstcndgrp5() {
return cstcndgrp5;
}
/**
* Sets the cstcndgrp5 value for this Bapisdhd1X.
*
* @param cstcndgrp5
*/
public void setCstcndgrp5(java.lang.String cstcndgrp5) {
this.cstcndgrp5 = cstcndgrp5;
}
/**
* Gets the dlvTime value for this Bapisdhd1X.
*
* @return dlvTime
*/
public java.lang.String getDlvTime() {
return dlvTime;
}
/**
* Sets the dlvTime value for this Bapisdhd1X.
*
* @param dlvTime
*/
public void setDlvTime(java.lang.String dlvTime) {
this.dlvTime = dlvTime;
}
/**
* Gets the currency value for this Bapisdhd1X.
*
* @return currency
*/
public java.lang.String getCurrency() {
return currency;
}
/**
* Sets the currency value for this Bapisdhd1X.
*
* @param currency
*/
public void setCurrency(java.lang.String currency) {
this.currency = currency;
}
/**
* Gets the taxdepCty value for this Bapisdhd1X.
*
* @return taxdepCty
*/
public java.lang.String getTaxdepCty() {
return taxdepCty;
}
/**
* Sets the taxdepCty value for this Bapisdhd1X.
*
* @param taxdepCty
*/
public void setTaxdepCty(java.lang.String taxdepCty) {
this.taxdepCty = taxdepCty;
}
/**
* Gets the taxdstCty value for this Bapisdhd1X.
*
* @return taxdstCty
*/
public java.lang.String getTaxdstCty() {
return taxdstCty;
}
/**
* Sets the taxdstCty value for this Bapisdhd1X.
*
* @param taxdstCty
*/
public void setTaxdstCty(java.lang.String taxdstCty) {
this.taxdstCty = taxdstCty;
}
/**
* Gets the eutriDeal value for this Bapisdhd1X.
*
* @return eutriDeal
*/
public java.lang.String getEutriDeal() {
return eutriDeal;
}
/**
* Sets the eutriDeal value for this Bapisdhd1X.
*
* @param eutriDeal
*/
public void setEutriDeal(java.lang.String eutriDeal) {
this.eutriDeal = eutriDeal;
}
/**
* Gets the mastContr value for this Bapisdhd1X.
*
* @return mastContr
*/
public java.lang.String getMastContr() {
return mastContr;
}
/**
* Sets the mastContr value for this Bapisdhd1X.
*
* @param mastContr
*/
public void setMastContr(java.lang.String mastContr) {
this.mastContr = mastContr;
}
/**
* Gets the refProc value for this Bapisdhd1X.
*
* @return refProc
*/
public java.lang.String getRefProc() {
return refProc;
}
/**
* Sets the refProc value for this Bapisdhd1X.
*
* @param refProc
*/
public void setRefProc(java.lang.String refProc) {
this.refProc = refProc;
}
/**
* Gets the chkprtauth value for this Bapisdhd1X.
*
* @return chkprtauth
*/
public java.lang.String getChkprtauth() {
return chkprtauth;
}
/**
* Sets the chkprtauth value for this Bapisdhd1X.
*
* @param chkprtauth
*/
public void setChkprtauth(java.lang.String chkprtauth) {
this.chkprtauth = chkprtauth;
}
/**
* Gets the cmlqtyDat value for this Bapisdhd1X.
*
* @return cmlqtyDat
*/
public java.lang.String getCmlqtyDat() {
return cmlqtyDat;
}
/**
* Sets the cmlqtyDat value for this Bapisdhd1X.
*
* @param cmlqtyDat
*/
public void setCmlqtyDat(java.lang.String cmlqtyDat) {
this.cmlqtyDat = cmlqtyDat;
}
/**
* Gets the version value for this Bapisdhd1X.
*
* @return version
*/
public java.lang.String getVersion() {
return version;
}
/**
* Sets the version value for this Bapisdhd1X.
*
* @param version
*/
public void setVersion(java.lang.String version) {
this.version = version;
}
/**
* Gets the notifNo value for this Bapisdhd1X.
*
* @return notifNo
*/
public java.lang.String getNotifNo() {
return notifNo;
}
/**
* Sets the notifNo value for this Bapisdhd1X.
*
* @param notifNo
*/
public void setNotifNo(java.lang.String notifNo) {
this.notifNo = notifNo;
}
/**
* Gets the wbsElem value for this Bapisdhd1X.
*
* @return wbsElem
*/
public java.lang.String getWbsElem() {
return wbsElem;
}
/**
* Sets the wbsElem value for this Bapisdhd1X.
*
* @param wbsElem
*/
public void setWbsElem(java.lang.String wbsElem) {
this.wbsElem = wbsElem;
}
/**
* Gets the exchRateFiV value for this Bapisdhd1X.
*
* @return exchRateFiV
*/
public java.lang.String getExchRateFiV() {
return exchRateFiV;
}
/**
* Sets the exchRateFiV value for this Bapisdhd1X.
*
* @param exchRateFiV
*/
public void setExchRateFiV(java.lang.String exchRateFiV) {
this.exchRateFiV = exchRateFiV;
}
/**
* Gets the exchgRateV value for this Bapisdhd1X.
*
* @return exchgRateV
*/
public java.lang.String getExchgRateV() {
return exchgRateV;
}
/**
* Sets the exchgRateV value for this Bapisdhd1X.
*
* @param exchgRateV
*/
public void setExchgRateV(java.lang.String exchgRateV) {
this.exchgRateV = exchgRateV;
}
/**
* Gets the fkkConacct value for this Bapisdhd1X.
*
* @return fkkConacct
*/
public java.lang.String getFkkConacct() {
return fkkConacct;
}
/**
* Sets the fkkConacct value for this Bapisdhd1X.
*
* @param fkkConacct
*/
public void setFkkConacct(java.lang.String fkkConacct) {
this.fkkConacct = fkkConacct;
}
/**
* Gets the campaign value for this Bapisdhd1X.
*
* @return campaign
*/
public java.lang.String getCampaign() {
return campaign;
}
/**
* Sets the campaign value for this Bapisdhd1X.
*
* @param campaign
*/
public void setCampaign(java.lang.String campaign) {
this.campaign = campaign;
}
/**
* Gets the docClass value for this Bapisdhd1X.
*
* @return docClass
*/
public java.lang.String getDocClass() {
return docClass;
}
/**
* Sets the docClass value for this Bapisdhd1X.
*
* @param docClass
*/
public void setDocClass(java.lang.String docClass) {
this.docClass = docClass;
}
/**
* Gets the HCurr value for this Bapisdhd1X.
*
* @return HCurr
*/
public java.lang.String getHCurr() {
return HCurr;
}
/**
* Sets the HCurr value for this Bapisdhd1X.
*
* @param HCurr
*/
public void setHCurr(java.lang.String HCurr) {
this.HCurr = HCurr;
}
/**
* Gets the shipType value for this Bapisdhd1X.
*
* @return shipType
*/
public java.lang.String getShipType() {
return shipType;
}
/**
* Sets the shipType value for this Bapisdhd1X.
*
* @param shipType
*/
public void setShipType(java.lang.String shipType) {
this.shipType = shipType;
}
/**
* Gets the SProcInd value for this Bapisdhd1X.
*
* @return SProcInd
*/
public java.lang.String getSProcInd() {
return SProcInd;
}
/**
* Sets the SProcInd value for this Bapisdhd1X.
*
* @param SProcInd
*/
public void setSProcInd(java.lang.String SProcInd) {
this.SProcInd = SProcInd;
}
/**
* Gets the lineTime value for this Bapisdhd1X.
*
* @return lineTime
*/
public java.lang.String getLineTime() {
return lineTime;
}
/**
* Sets the lineTime value for this Bapisdhd1X.
*
* @param lineTime
*/
public void setLineTime(java.lang.String lineTime) {
this.lineTime = lineTime;
}
/**
* Gets the calcMotive value for this Bapisdhd1X.
*
* @return calcMotive
*/
public java.lang.String getCalcMotive() {
return calcMotive;
}
/**
* Sets the calcMotive value for this Bapisdhd1X.
*
* @param calcMotive
*/
public void setCalcMotive(java.lang.String calcMotive) {
this.calcMotive = calcMotive;
}
private java.lang.Object __equalsCalc = null;
public synchronized boolean equals(java.lang.Object obj) {
if (!(obj instanceof Bapisdhd1X)) return false;
Bapisdhd1X other = (Bapisdhd1X) obj;
if (obj == null) return false;
if (this == obj) return true;
if (__equalsCalc != null) {
return (__equalsCalc == obj);
}
__equalsCalc = obj;
boolean _equals;
_equals = true &&
((this.updateflag==null && other.getUpdateflag()==null) ||
(this.updateflag!=null &&
this.updateflag.equals(other.getUpdateflag()))) &&
((this.docType==null && other.getDocType()==null) ||
(this.docType!=null &&
this.docType.equals(other.getDocType()))) &&
((this.collectNo==null && other.getCollectNo()==null) ||
(this.collectNo!=null &&
this.collectNo.equals(other.getCollectNo()))) &&
((this.salesOrg==null && other.getSalesOrg()==null) ||
(this.salesOrg!=null &&
this.salesOrg.equals(other.getSalesOrg()))) &&
((this.distrChan==null && other.getDistrChan()==null) ||
(this.distrChan!=null &&
this.distrChan.equals(other.getDistrChan()))) &&
((this.division==null && other.getDivision()==null) ||
(this.division!=null &&
this.division.equals(other.getDivision()))) &&
((this.salesGrp==null && other.getSalesGrp()==null) ||
(this.salesGrp!=null &&
this.salesGrp.equals(other.getSalesGrp()))) &&
((this.salesOff==null && other.getSalesOff()==null) ||
(this.salesOff!=null &&
this.salesOff.equals(other.getSalesOff()))) &&
((this.reqDateH==null && other.getReqDateH()==null) ||
(this.reqDateH!=null &&
this.reqDateH.equals(other.getReqDateH()))) &&
((this.dateType==null && other.getDateType()==null) ||
(this.dateType!=null &&
this.dateType.equals(other.getDateType()))) &&
((this.purchDate==null && other.getPurchDate()==null) ||
(this.purchDate!=null &&
this.purchDate.equals(other.getPurchDate()))) &&
((this.poMethod==null && other.getPoMethod()==null) ||
(this.poMethod!=null &&
this.poMethod.equals(other.getPoMethod()))) &&
((this.poSupplem==null && other.getPoSupplem()==null) ||
(this.poSupplem!=null &&
this.poSupplem.equals(other.getPoSupplem()))) &&
((this.ref1==null && other.getRef1()==null) ||
(this.ref1!=null &&
this.ref1.equals(other.getRef1()))) &&
((this.name==null && other.getName()==null) ||
(this.name!=null &&
this.name.equals(other.getName()))) &&
((this.telephone==null && other.getTelephone()==null) ||
(this.telephone!=null &&
this.telephone.equals(other.getTelephone()))) &&
((this.priceGrp==null && other.getPriceGrp()==null) ||
(this.priceGrp!=null &&
this.priceGrp.equals(other.getPriceGrp()))) &&
((this.custGroup==null && other.getCustGroup()==null) ||
(this.custGroup!=null &&
this.custGroup.equals(other.getCustGroup()))) &&
((this.salesDist==null && other.getSalesDist()==null) ||
(this.salesDist!=null &&
this.salesDist.equals(other.getSalesDist()))) &&
((this.priceList==null && other.getPriceList()==null) ||
(this.priceList!=null &&
this.priceList.equals(other.getPriceList()))) &&
((this.incoterms1==null && other.getIncoterms1()==null) ||
(this.incoterms1!=null &&
this.incoterms1.equals(other.getIncoterms1()))) &&
((this.incoterms2==null && other.getIncoterms2()==null) ||
(this.incoterms2!=null &&
this.incoterms2.equals(other.getIncoterms2()))) &&
((this.pmnttrms==null && other.getPmnttrms()==null) ||
(this.pmnttrms!=null &&
this.pmnttrms.equals(other.getPmnttrms()))) &&
((this.dlvBlock==null && other.getDlvBlock()==null) ||
(this.dlvBlock!=null &&
this.dlvBlock.equals(other.getDlvBlock()))) &&
((this.billBlock==null && other.getBillBlock()==null) ||
(this.billBlock!=null &&
this.billBlock.equals(other.getBillBlock()))) &&
((this.ordReason==null && other.getOrdReason()==null) ||
(this.ordReason!=null &&
this.ordReason.equals(other.getOrdReason()))) &&
((this.complDlv==null && other.getComplDlv()==null) ||
(this.complDlv!=null &&
this.complDlv.equals(other.getComplDlv()))) &&
((this.priceDate==null && other.getPriceDate()==null) ||
(this.priceDate!=null &&
this.priceDate.equals(other.getPriceDate()))) &&
((this.qtValidF==null && other.getQtValidF()==null) ||
(this.qtValidF!=null &&
this.qtValidF.equals(other.getQtValidF()))) &&
((this.qtValidT==null && other.getQtValidT()==null) ||
(this.qtValidT!=null &&
this.qtValidT.equals(other.getQtValidT()))) &&
((this.ctValidF==null && other.getCtValidF()==null) ||
(this.ctValidF!=null &&
this.ctValidF.equals(other.getCtValidF()))) &&
((this.ctValidT==null && other.getCtValidT()==null) ||
(this.ctValidT!=null &&
this.ctValidT.equals(other.getCtValidT()))) &&
((this.custGrp1==null && other.getCustGrp1()==null) ||
(this.custGrp1!=null &&
this.custGrp1.equals(other.getCustGrp1()))) &&
((this.custGrp2==null && other.getCustGrp2()==null) ||
(this.custGrp2!=null &&
this.custGrp2.equals(other.getCustGrp2()))) &&
((this.custGrp3==null && other.getCustGrp3()==null) ||
(this.custGrp3!=null &&
this.custGrp3.equals(other.getCustGrp3()))) &&
((this.custGrp4==null && other.getCustGrp4()==null) ||
(this.custGrp4!=null &&
this.custGrp4.equals(other.getCustGrp4()))) &&
((this.custGrp5==null && other.getCustGrp5()==null) ||
(this.custGrp5!=null &&
this.custGrp5.equals(other.getCustGrp5()))) &&
((this.purchNoC==null && other.getPurchNoC()==null) ||
(this.purchNoC!=null &&
this.purchNoC.equals(other.getPurchNoC()))) &&
((this.purchNoS==null && other.getPurchNoS()==null) ||
(this.purchNoS!=null &&
this.purchNoS.equals(other.getPurchNoS()))) &&
((this.poDatS==null && other.getPoDatS()==null) ||
(this.poDatS!=null &&
this.poDatS.equals(other.getPoDatS()))) &&
((this.poMethS==null && other.getPoMethS()==null) ||
(this.poMethS!=null &&
this.poMethS.equals(other.getPoMethS()))) &&
((this.ref1S==null && other.getRef1S()==null) ||
(this.ref1S!=null &&
this.ref1S.equals(other.getRef1S()))) &&
((this.sdDocCat==null && other.getSdDocCat()==null) ||
(this.sdDocCat!=null &&
this.sdDocCat.equals(other.getSdDocCat()))) &&
((this.docDate==null && other.getDocDate()==null) ||
(this.docDate!=null &&
this.docDate.equals(other.getDocDate()))) &&
((this.warDate==null && other.getWarDate()==null) ||
(this.warDate!=null &&
this.warDate.equals(other.getWarDate()))) &&
((this.shipCond==null && other.getShipCond()==null) ||
(this.shipCond!=null &&
this.shipCond.equals(other.getShipCond()))) &&
((this.ppSearch==null && other.getPpSearch()==null) ||
(this.ppSearch!=null &&
this.ppSearch.equals(other.getPpSearch()))) &&
((this.dunCount==null && other.getDunCount()==null) ||
(this.dunCount!=null &&
this.dunCount.equals(other.getDunCount()))) &&
((this.dunDate==null && other.getDunDate()==null) ||
(this.dunDate!=null &&
this.dunDate.equals(other.getDunDate()))) &&
((this.dlvschduse==null && other.getDlvschduse()==null) ||
(this.dlvschduse!=null &&
this.dlvschduse.equals(other.getDlvschduse()))) &&
((this.pldlvstyp==null && other.getPldlvstyp()==null) ||
(this.pldlvstyp!=null &&
this.pldlvstyp.equals(other.getPldlvstyp()))) &&
((this.refDoc==null && other.getRefDoc()==null) ||
(this.refDoc!=null &&
this.refDoc.equals(other.getRefDoc()))) &&
((this.compCdeB==null && other.getCompCdeB()==null) ||
(this.compCdeB!=null &&
this.compCdeB.equals(other.getCompCdeB()))) &&
((this.alttaxCls==null && other.getAlttaxCls()==null) ||
(this.alttaxCls!=null &&
this.alttaxCls.equals(other.getAlttaxCls()))) &&
((this.taxClass2==null && other.getTaxClass2()==null) ||
(this.taxClass2!=null &&
this.taxClass2.equals(other.getTaxClass2()))) &&
((this.taxClass3==null && other.getTaxClass3()==null) ||
(this.taxClass3!=null &&
this.taxClass3.equals(other.getTaxClass3()))) &&
((this.taxClass4==null && other.getTaxClass4()==null) ||
(this.taxClass4!=null &&
this.taxClass4.equals(other.getTaxClass4()))) &&
((this.taxClass5==null && other.getTaxClass5()==null) ||
(this.taxClass5!=null &&
this.taxClass5.equals(other.getTaxClass5()))) &&
((this.taxClass6==null && other.getTaxClass6()==null) ||
(this.taxClass6!=null &&
this.taxClass6.equals(other.getTaxClass6()))) &&
((this.taxClass7==null && other.getTaxClass7()==null) ||
(this.taxClass7!=null &&
this.taxClass7.equals(other.getTaxClass7()))) &&
((this.taxClass8==null && other.getTaxClass8()==null) ||
(this.taxClass8!=null &&
this.taxClass8.equals(other.getTaxClass8()))) &&
((this.taxClass9==null && other.getTaxClass9()==null) ||
(this.taxClass9!=null &&
this.taxClass9.equals(other.getTaxClass9()))) &&
((this.refDocL==null && other.getRefDocL()==null) ||
(this.refDocL!=null &&
this.refDocL.equals(other.getRefDocL()))) &&
((this.assNumber==null && other.getAssNumber()==null) ||
(this.assNumber!=null &&
this.assNumber.equals(other.getAssNumber()))) &&
((this.refdocCat==null && other.getRefdocCat()==null) ||
(this.refdocCat!=null &&
this.refdocCat.equals(other.getRefdocCat()))) &&
((this.ordcombIn==null && other.getOrdcombIn()==null) ||
(this.ordcombIn!=null &&
this.ordcombIn.equals(other.getOrdcombIn()))) &&
((this.billSched==null && other.getBillSched()==null) ||
(this.billSched!=null &&
this.billSched.equals(other.getBillSched()))) &&
((this.invoSched==null && other.getInvoSched()==null) ||
(this.invoSched!=null &&
this.invoSched.equals(other.getInvoSched()))) &&
((this.mnInvoice==null && other.getMnInvoice()==null) ||
(this.mnInvoice!=null &&
this.mnInvoice.equals(other.getMnInvoice()))) &&
((this.exrateFi==null && other.getExrateFi()==null) ||
(this.exrateFi!=null &&
this.exrateFi.equals(other.getExrateFi()))) &&
((this.addValDy==null && other.getAddValDy()==null) ||
(this.addValDy!=null &&
this.addValDy.equals(other.getAddValDy()))) &&
((this.fixValDy==null && other.getFixValDy()==null) ||
(this.fixValDy!=null &&
this.fixValDy.equals(other.getFixValDy()))) &&
((this.pymtMeth==null && other.getPymtMeth()==null) ||
(this.pymtMeth!=null &&
this.pymtMeth.equals(other.getPymtMeth()))) &&
((this.accntAsgn==null && other.getAccntAsgn()==null) ||
(this.accntAsgn!=null &&
this.accntAsgn.equals(other.getAccntAsgn()))) &&
((this.exchgRate==null && other.getExchgRate()==null) ||
(this.exchgRate!=null &&
this.exchgRate.equals(other.getExchgRate()))) &&
((this.billDate==null && other.getBillDate()==null) ||
(this.billDate!=null &&
this.billDate.equals(other.getBillDate()))) &&
((this.servDate==null && other.getServDate()==null) ||
(this.servDate!=null &&
this.servDate.equals(other.getServDate()))) &&
((this.dunnKey==null && other.getDunnKey()==null) ||
(this.dunnKey!=null &&
this.dunnKey.equals(other.getDunnKey()))) &&
((this.dunnBlock==null && other.getDunnBlock()==null) ||
(this.dunnBlock!=null &&
this.dunnBlock.equals(other.getDunnBlock()))) &&
((this.promotion==null && other.getPromotion()==null) ||
(this.promotion!=null &&
this.promotion.equals(other.getPromotion()))) &&
((this.pmtgarPro==null && other.getPmtgarPro()==null) ||
(this.pmtgarPro!=null &&
this.pmtgarPro.equals(other.getPmtgarPro()))) &&
((this.departmNo==null && other.getDepartmNo()==null) ||
(this.departmNo!=null &&
this.departmNo.equals(other.getDepartmNo()))) &&
((this.recPoint==null && other.getRecPoint()==null) ||
(this.recPoint!=null &&
this.recPoint.equals(other.getRecPoint()))) &&
((this.poitmNoS==null && other.getPoitmNoS()==null) ||
(this.poitmNoS!=null &&
this.poitmNoS.equals(other.getPoitmNoS()))) &&
((this.docNumFi==null && other.getDocNumFi()==null) ||
(this.docNumFi!=null &&
this.docNumFi.equals(other.getDocNumFi()))) &&
((this.cstcndgrp1==null && other.getCstcndgrp1()==null) ||
(this.cstcndgrp1!=null &&
this.cstcndgrp1.equals(other.getCstcndgrp1()))) &&
((this.cstcndgrp2==null && other.getCstcndgrp2()==null) ||
(this.cstcndgrp2!=null &&
this.cstcndgrp2.equals(other.getCstcndgrp2()))) &&
((this.cstcndgrp3==null && other.getCstcndgrp3()==null) ||
(this.cstcndgrp3!=null &&
this.cstcndgrp3.equals(other.getCstcndgrp3()))) &&
((this.cstcndgrp4==null && other.getCstcndgrp4()==null) ||
(this.cstcndgrp4!=null &&
this.cstcndgrp4.equals(other.getCstcndgrp4()))) &&
((this.cstcndgrp5==null && other.getCstcndgrp5()==null) ||
(this.cstcndgrp5!=null &&
this.cstcndgrp5.equals(other.getCstcndgrp5()))) &&
((this.dlvTime==null && other.getDlvTime()==null) ||
(this.dlvTime!=null &&
this.dlvTime.equals(other.getDlvTime()))) &&
((this.currency==null && other.getCurrency()==null) ||
(this.currency!=null &&
this.currency.equals(other.getCurrency()))) &&
((this.taxdepCty==null && other.getTaxdepCty()==null) ||
(this.taxdepCty!=null &&
this.taxdepCty.equals(other.getTaxdepCty()))) &&
((this.taxdstCty==null && other.getTaxdstCty()==null) ||
(this.taxdstCty!=null &&
this.taxdstCty.equals(other.getTaxdstCty()))) &&
((this.eutriDeal==null && other.getEutriDeal()==null) ||
(this.eutriDeal!=null &&
this.eutriDeal.equals(other.getEutriDeal()))) &&
((this.mastContr==null && other.getMastContr()==null) ||
(this.mastContr!=null &&
this.mastContr.equals(other.getMastContr()))) &&
((this.refProc==null && other.getRefProc()==null) ||
(this.refProc!=null &&
this.refProc.equals(other.getRefProc()))) &&
((this.chkprtauth==null && other.getChkprtauth()==null) ||
(this.chkprtauth!=null &&
this.chkprtauth.equals(other.getChkprtauth()))) &&
((this.cmlqtyDat==null && other.getCmlqtyDat()==null) ||
(this.cmlqtyDat!=null &&
this.cmlqtyDat.equals(other.getCmlqtyDat()))) &&
((this.version==null && other.getVersion()==null) ||
(this.version!=null &&
this.version.equals(other.getVersion()))) &&
((this.notifNo==null && other.getNotifNo()==null) ||
(this.notifNo!=null &&
this.notifNo.equals(other.getNotifNo()))) &&
((this.wbsElem==null && other.getWbsElem()==null) ||
(this.wbsElem!=null &&
this.wbsElem.equals(other.getWbsElem()))) &&
((this.exchRateFiV==null && other.getExchRateFiV()==null) ||
(this.exchRateFiV!=null &&
this.exchRateFiV.equals(other.getExchRateFiV()))) &&
((this.exchgRateV==null && other.getExchgRateV()==null) ||
(this.exchgRateV!=null &&
this.exchgRateV.equals(other.getExchgRateV()))) &&
((this.fkkConacct==null && other.getFkkConacct()==null) ||
(this.fkkConacct!=null &&
this.fkkConacct.equals(other.getFkkConacct()))) &&
((this.campaign==null && other.getCampaign()==null) ||
(this.campaign!=null &&
this.campaign.equals(other.getCampaign()))) &&
((this.docClass==null && other.getDocClass()==null) ||
(this.docClass!=null &&
this.docClass.equals(other.getDocClass()))) &&
((this.HCurr==null && other.getHCurr()==null) ||
(this.HCurr!=null &&
this.HCurr.equals(other.getHCurr()))) &&
((this.shipType==null && other.getShipType()==null) ||
(this.shipType!=null &&
this.shipType.equals(other.getShipType()))) &&
((this.SProcInd==null && other.getSProcInd()==null) ||
(this.SProcInd!=null &&
this.SProcInd.equals(other.getSProcInd()))) &&
((this.lineTime==null && other.getLineTime()==null) ||
(this.lineTime!=null &&
this.lineTime.equals(other.getLineTime()))) &&
((this.calcMotive==null && other.getCalcMotive()==null) ||
(this.calcMotive!=null &&
this.calcMotive.equals(other.getCalcMotive())));
__equalsCalc = null;
return _equals;
}
private boolean __hashCodeCalc = false;
public synchronized int hashCode() {
if (__hashCodeCalc) {
return 0;
}
__hashCodeCalc = true;
int _hashCode = 1;
if (getUpdateflag() != null) {
_hashCode += getUpdateflag().hashCode();
}
if (getDocType() != null) {
_hashCode += getDocType().hashCode();
}
if (getCollectNo() != null) {
_hashCode += getCollectNo().hashCode();
}
if (getSalesOrg() != null) {
_hashCode += getSalesOrg().hashCode();
}
if (getDistrChan() != null) {
_hashCode += getDistrChan().hashCode();
}
if (getDivision() != null) {
_hashCode += getDivision().hashCode();
}
if (getSalesGrp() != null) {
_hashCode += getSalesGrp().hashCode();
}
if (getSalesOff() != null) {
_hashCode += getSalesOff().hashCode();
}
if (getReqDateH() != null) {
_hashCode += getReqDateH().hashCode();
}
if (getDateType() != null) {
_hashCode += getDateType().hashCode();
}
if (getPurchDate() != null) {
_hashCode += getPurchDate().hashCode();
}
if (getPoMethod() != null) {
_hashCode += getPoMethod().hashCode();
}
if (getPoSupplem() != null) {
_hashCode += getPoSupplem().hashCode();
}
if (getRef1() != null) {
_hashCode += getRef1().hashCode();
}
if (getName() != null) {
_hashCode += getName().hashCode();
}
if (getTelephone() != null) {
_hashCode += getTelephone().hashCode();
}
if (getPriceGrp() != null) {
_hashCode += getPriceGrp().hashCode();
}
if (getCustGroup() != null) {
_hashCode += getCustGroup().hashCode();
}
if (getSalesDist() != null) {
_hashCode += getSalesDist().hashCode();
}
if (getPriceList() != null) {
_hashCode += getPriceList().hashCode();
}
if (getIncoterms1() != null) {
_hashCode += getIncoterms1().hashCode();
}
if (getIncoterms2() != null) {
_hashCode += getIncoterms2().hashCode();
}
if (getPmnttrms() != null) {
_hashCode += getPmnttrms().hashCode();
}
if (getDlvBlock() != null) {
_hashCode += getDlvBlock().hashCode();
}
if (getBillBlock() != null) {
_hashCode += getBillBlock().hashCode();
}
if (getOrdReason() != null) {
_hashCode += getOrdReason().hashCode();
}
if (getComplDlv() != null) {
_hashCode += getComplDlv().hashCode();
}
if (getPriceDate() != null) {
_hashCode += getPriceDate().hashCode();
}
if (getQtValidF() != null) {
_hashCode += getQtValidF().hashCode();
}
if (getQtValidT() != null) {
_hashCode += getQtValidT().hashCode();
}
if (getCtValidF() != null) {
_hashCode += getCtValidF().hashCode();
}
if (getCtValidT() != null) {
_hashCode += getCtValidT().hashCode();
}
if (getCustGrp1() != null) {
_hashCode += getCustGrp1().hashCode();
}
if (getCustGrp2() != null) {
_hashCode += getCustGrp2().hashCode();
}
if (getCustGrp3() != null) {
_hashCode += getCustGrp3().hashCode();
}
if (getCustGrp4() != null) {
_hashCode += getCustGrp4().hashCode();
}
if (getCustGrp5() != null) {
_hashCode += getCustGrp5().hashCode();
}
if (getPurchNoC() != null) {
_hashCode += getPurchNoC().hashCode();
}
if (getPurchNoS() != null) {
_hashCode += getPurchNoS().hashCode();
}
if (getPoDatS() != null) {
_hashCode += getPoDatS().hashCode();
}
if (getPoMethS() != null) {
_hashCode += getPoMethS().hashCode();
}
if (getRef1S() != null) {
_hashCode += getRef1S().hashCode();
}
if (getSdDocCat() != null) {
_hashCode += getSdDocCat().hashCode();
}
if (getDocDate() != null) {
_hashCode += getDocDate().hashCode();
}
if (getWarDate() != null) {
_hashCode += getWarDate().hashCode();
}
if (getShipCond() != null) {
_hashCode += getShipCond().hashCode();
}
if (getPpSearch() != null) {
_hashCode += getPpSearch().hashCode();
}
if (getDunCount() != null) {
_hashCode += getDunCount().hashCode();
}
if (getDunDate() != null) {
_hashCode += getDunDate().hashCode();
}
if (getDlvschduse() != null) {
_hashCode += getDlvschduse().hashCode();
}
if (getPldlvstyp() != null) {
_hashCode += getPldlvstyp().hashCode();
}
if (getRefDoc() != null) {
_hashCode += getRefDoc().hashCode();
}
if (getCompCdeB() != null) {
_hashCode += getCompCdeB().hashCode();
}
if (getAlttaxCls() != null) {
_hashCode += getAlttaxCls().hashCode();
}
if (getTaxClass2() != null) {
_hashCode += getTaxClass2().hashCode();
}
if (getTaxClass3() != null) {
_hashCode += getTaxClass3().hashCode();
}
if (getTaxClass4() != null) {
_hashCode += getTaxClass4().hashCode();
}
if (getTaxClass5() != null) {
_hashCode += getTaxClass5().hashCode();
}
if (getTaxClass6() != null) {
_hashCode += getTaxClass6().hashCode();
}
if (getTaxClass7() != null) {
_hashCode += getTaxClass7().hashCode();
}
if (getTaxClass8() != null) {
_hashCode += getTaxClass8().hashCode();
}
if (getTaxClass9() != null) {
_hashCode += getTaxClass9().hashCode();
}
if (getRefDocL() != null) {
_hashCode += getRefDocL().hashCode();
}
if (getAssNumber() != null) {
_hashCode += getAssNumber().hashCode();
}
if (getRefdocCat() != null) {
_hashCode += getRefdocCat().hashCode();
}
if (getOrdcombIn() != null) {
_hashCode += getOrdcombIn().hashCode();
}
if (getBillSched() != null) {
_hashCode += getBillSched().hashCode();
}
if (getInvoSched() != null) {
_hashCode += getInvoSched().hashCode();
}
if (getMnInvoice() != null) {
_hashCode += getMnInvoice().hashCode();
}
if (getExrateFi() != null) {
_hashCode += getExrateFi().hashCode();
}
if (getAddValDy() != null) {
_hashCode += getAddValDy().hashCode();
}
if (getFixValDy() != null) {
_hashCode += getFixValDy().hashCode();
}
if (getPymtMeth() != null) {
_hashCode += getPymtMeth().hashCode();
}
if (getAccntAsgn() != null) {
_hashCode += getAccntAsgn().hashCode();
}
if (getExchgRate() != null) {
_hashCode += getExchgRate().hashCode();
}
if (getBillDate() != null) {
_hashCode += getBillDate().hashCode();
}
if (getServDate() != null) {
_hashCode += getServDate().hashCode();
}
if (getDunnKey() != null) {
_hashCode += getDunnKey().hashCode();
}
if (getDunnBlock() != null) {
_hashCode += getDunnBlock().hashCode();
}
if (getPromotion() != null) {
_hashCode += getPromotion().hashCode();
}
if (getPmtgarPro() != null) {
_hashCode += getPmtgarPro().hashCode();
}
if (getDepartmNo() != null) {
_hashCode += getDepartmNo().hashCode();
}
if (getRecPoint() != null) {
_hashCode += getRecPoint().hashCode();
}
if (getPoitmNoS() != null) {
_hashCode += getPoitmNoS().hashCode();
}
if (getDocNumFi() != null) {
_hashCode += getDocNumFi().hashCode();
}
if (getCstcndgrp1() != null) {
_hashCode += getCstcndgrp1().hashCode();
}
if (getCstcndgrp2() != null) {
_hashCode += getCstcndgrp2().hashCode();
}
if (getCstcndgrp3() != null) {
_hashCode += getCstcndgrp3().hashCode();
}
if (getCstcndgrp4() != null) {
_hashCode += getCstcndgrp4().hashCode();
}
if (getCstcndgrp5() != null) {
_hashCode += getCstcndgrp5().hashCode();
}
if (getDlvTime() != null) {
_hashCode += getDlvTime().hashCode();
}
if (getCurrency() != null) {
_hashCode += getCurrency().hashCode();
}
if (getTaxdepCty() != null) {
_hashCode += getTaxdepCty().hashCode();
}
if (getTaxdstCty() != null) {
_hashCode += getTaxdstCty().hashCode();
}
if (getEutriDeal() != null) {
_hashCode += getEutriDeal().hashCode();
}
if (getMastContr() != null) {
_hashCode += getMastContr().hashCode();
}
if (getRefProc() != null) {
_hashCode += getRefProc().hashCode();
}
if (getChkprtauth() != null) {
_hashCode += getChkprtauth().hashCode();
}
if (getCmlqtyDat() != null) {
_hashCode += getCmlqtyDat().hashCode();
}
if (getVersion() != null) {
_hashCode += getVersion().hashCode();
}
if (getNotifNo() != null) {
_hashCode += getNotifNo().hashCode();
}
if (getWbsElem() != null) {
_hashCode += getWbsElem().hashCode();
}
if (getExchRateFiV() != null) {
_hashCode += getExchRateFiV().hashCode();
}
if (getExchgRateV() != null) {
_hashCode += getExchgRateV().hashCode();
}
if (getFkkConacct() != null) {
_hashCode += getFkkConacct().hashCode();
}
if (getCampaign() != null) {
_hashCode += getCampaign().hashCode();
}
if (getDocClass() != null) {
_hashCode += getDocClass().hashCode();
}
if (getHCurr() != null) {
_hashCode += getHCurr().hashCode();
}
if (getShipType() != null) {
_hashCode += getShipType().hashCode();
}
if (getSProcInd() != null) {
_hashCode += getSProcInd().hashCode();
}
if (getLineTime() != null) {
_hashCode += getLineTime().hashCode();
}
if (getCalcMotive() != null) {
_hashCode += getCalcMotive().hashCode();
}
__hashCodeCalc = false;
return _hashCode;
}
// Type metadata
private static org.apache.axis.description.TypeDesc typeDesc =
new org.apache.axis.description.TypeDesc(Bapisdhd1X.class, true);
static {
typeDesc.setXmlType(new javax.xml.namespace.QName("urn:sap-com:document:sap:soap:functions:mc-style", "Bapisdhd1x"));
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("updateflag");
elemField.setXmlName(new javax.xml.namespace.QName("", "Updateflag"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("docType");
elemField.setXmlName(new javax.xml.namespace.QName("", "DocType"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("collectNo");
elemField.setXmlName(new javax.xml.namespace.QName("", "CollectNo"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("salesOrg");
elemField.setXmlName(new javax.xml.namespace.QName("", "SalesOrg"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("distrChan");
elemField.setXmlName(new javax.xml.namespace.QName("", "DistrChan"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("division");
elemField.setXmlName(new javax.xml.namespace.QName("", "Division"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("salesGrp");
elemField.setXmlName(new javax.xml.namespace.QName("", "SalesGrp"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("salesOff");
elemField.setXmlName(new javax.xml.namespace.QName("", "SalesOff"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("reqDateH");
elemField.setXmlName(new javax.xml.namespace.QName("", "ReqDateH"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("dateType");
elemField.setXmlName(new javax.xml.namespace.QName("", "DateType"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("purchDate");
elemField.setXmlName(new javax.xml.namespace.QName("", "PurchDate"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("poMethod");
elemField.setXmlName(new javax.xml.namespace.QName("", "PoMethod"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("poSupplem");
elemField.setXmlName(new javax.xml.namespace.QName("", "PoSupplem"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("ref1");
elemField.setXmlName(new javax.xml.namespace.QName("", "Ref1"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("name");
elemField.setXmlName(new javax.xml.namespace.QName("", "Name"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("telephone");
elemField.setXmlName(new javax.xml.namespace.QName("", "Telephone"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("priceGrp");
elemField.setXmlName(new javax.xml.namespace.QName("", "PriceGrp"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("custGroup");
elemField.setXmlName(new javax.xml.namespace.QName("", "CustGroup"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("salesDist");
elemField.setXmlName(new javax.xml.namespace.QName("", "SalesDist"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("priceList");
elemField.setXmlName(new javax.xml.namespace.QName("", "PriceList"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("incoterms1");
elemField.setXmlName(new javax.xml.namespace.QName("", "Incoterms1"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("incoterms2");
elemField.setXmlName(new javax.xml.namespace.QName("", "Incoterms2"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("pmnttrms");
elemField.setXmlName(new javax.xml.namespace.QName("", "Pmnttrms"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("dlvBlock");
elemField.setXmlName(new javax.xml.namespace.QName("", "DlvBlock"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("billBlock");
elemField.setXmlName(new javax.xml.namespace.QName("", "BillBlock"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("ordReason");
elemField.setXmlName(new javax.xml.namespace.QName("", "OrdReason"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("complDlv");
elemField.setXmlName(new javax.xml.namespace.QName("", "ComplDlv"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("priceDate");
elemField.setXmlName(new javax.xml.namespace.QName("", "PriceDate"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("qtValidF");
elemField.setXmlName(new javax.xml.namespace.QName("", "QtValidF"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("qtValidT");
elemField.setXmlName(new javax.xml.namespace.QName("", "QtValidT"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("ctValidF");
elemField.setXmlName(new javax.xml.namespace.QName("", "CtValidF"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("ctValidT");
elemField.setXmlName(new javax.xml.namespace.QName("", "CtValidT"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("custGrp1");
elemField.setXmlName(new javax.xml.namespace.QName("", "CustGrp1"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("custGrp2");
elemField.setXmlName(new javax.xml.namespace.QName("", "CustGrp2"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("custGrp3");
elemField.setXmlName(new javax.xml.namespace.QName("", "CustGrp3"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("custGrp4");
elemField.setXmlName(new javax.xml.namespace.QName("", "CustGrp4"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("custGrp5");
elemField.setXmlName(new javax.xml.namespace.QName("", "CustGrp5"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("purchNoC");
elemField.setXmlName(new javax.xml.namespace.QName("", "PurchNoC"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("purchNoS");
elemField.setXmlName(new javax.xml.namespace.QName("", "PurchNoS"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("poDatS");
elemField.setXmlName(new javax.xml.namespace.QName("", "PoDatS"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("poMethS");
elemField.setXmlName(new javax.xml.namespace.QName("", "PoMethS"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("ref1S");
elemField.setXmlName(new javax.xml.namespace.QName("", "Ref1S"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("sdDocCat");
elemField.setXmlName(new javax.xml.namespace.QName("", "SdDocCat"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("docDate");
elemField.setXmlName(new javax.xml.namespace.QName("", "DocDate"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("warDate");
elemField.setXmlName(new javax.xml.namespace.QName("", "WarDate"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("shipCond");
elemField.setXmlName(new javax.xml.namespace.QName("", "ShipCond"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("ppSearch");
elemField.setXmlName(new javax.xml.namespace.QName("", "PpSearch"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("dunCount");
elemField.setXmlName(new javax.xml.namespace.QName("", "DunCount"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("dunDate");
elemField.setXmlName(new javax.xml.namespace.QName("", "DunDate"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("dlvschduse");
elemField.setXmlName(new javax.xml.namespace.QName("", "Dlvschduse"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("pldlvstyp");
elemField.setXmlName(new javax.xml.namespace.QName("", "Pldlvstyp"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("refDoc");
elemField.setXmlName(new javax.xml.namespace.QName("", "RefDoc"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("compCdeB");
elemField.setXmlName(new javax.xml.namespace.QName("", "CompCdeB"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("alttaxCls");
elemField.setXmlName(new javax.xml.namespace.QName("", "AlttaxCls"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("taxClass2");
elemField.setXmlName(new javax.xml.namespace.QName("", "TaxClass2"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("taxClass3");
elemField.setXmlName(new javax.xml.namespace.QName("", "TaxClass3"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("taxClass4");
elemField.setXmlName(new javax.xml.namespace.QName("", "TaxClass4"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("taxClass5");
elemField.setXmlName(new javax.xml.namespace.QName("", "TaxClass5"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("taxClass6");
elemField.setXmlName(new javax.xml.namespace.QName("", "TaxClass6"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("taxClass7");
elemField.setXmlName(new javax.xml.namespace.QName("", "TaxClass7"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("taxClass8");
elemField.setXmlName(new javax.xml.namespace.QName("", "TaxClass8"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("taxClass9");
elemField.setXmlName(new javax.xml.namespace.QName("", "TaxClass9"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("refDocL");
elemField.setXmlName(new javax.xml.namespace.QName("", "RefDocL"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("assNumber");
elemField.setXmlName(new javax.xml.namespace.QName("", "AssNumber"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("refdocCat");
elemField.setXmlName(new javax.xml.namespace.QName("", "RefdocCat"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("ordcombIn");
elemField.setXmlName(new javax.xml.namespace.QName("", "OrdcombIn"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("billSched");
elemField.setXmlName(new javax.xml.namespace.QName("", "BillSched"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("invoSched");
elemField.setXmlName(new javax.xml.namespace.QName("", "InvoSched"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("mnInvoice");
elemField.setXmlName(new javax.xml.namespace.QName("", "MnInvoice"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("exrateFi");
elemField.setXmlName(new javax.xml.namespace.QName("", "ExrateFi"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("addValDy");
elemField.setXmlName(new javax.xml.namespace.QName("", "AddValDy"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("fixValDy");
elemField.setXmlName(new javax.xml.namespace.QName("", "FixValDy"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("pymtMeth");
elemField.setXmlName(new javax.xml.namespace.QName("", "PymtMeth"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("accntAsgn");
elemField.setXmlName(new javax.xml.namespace.QName("", "AccntAsgn"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("exchgRate");
elemField.setXmlName(new javax.xml.namespace.QName("", "ExchgRate"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("billDate");
elemField.setXmlName(new javax.xml.namespace.QName("", "BillDate"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("servDate");
elemField.setXmlName(new javax.xml.namespace.QName("", "ServDate"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("dunnKey");
elemField.setXmlName(new javax.xml.namespace.QName("", "DunnKey"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("dunnBlock");
elemField.setXmlName(new javax.xml.namespace.QName("", "DunnBlock"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("promotion");
elemField.setXmlName(new javax.xml.namespace.QName("", "Promotion"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("pmtgarPro");
elemField.setXmlName(new javax.xml.namespace.QName("", "PmtgarPro"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("departmNo");
elemField.setXmlName(new javax.xml.namespace.QName("", "DepartmNo"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("recPoint");
elemField.setXmlName(new javax.xml.namespace.QName("", "RecPoint"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("poitmNoS");
elemField.setXmlName(new javax.xml.namespace.QName("", "PoitmNoS"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("docNumFi");
elemField.setXmlName(new javax.xml.namespace.QName("", "DocNumFi"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("cstcndgrp1");
elemField.setXmlName(new javax.xml.namespace.QName("", "Cstcndgrp1"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("cstcndgrp2");
elemField.setXmlName(new javax.xml.namespace.QName("", "Cstcndgrp2"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("cstcndgrp3");
elemField.setXmlName(new javax.xml.namespace.QName("", "Cstcndgrp3"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("cstcndgrp4");
elemField.setXmlName(new javax.xml.namespace.QName("", "Cstcndgrp4"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("cstcndgrp5");
elemField.setXmlName(new javax.xml.namespace.QName("", "Cstcndgrp5"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("dlvTime");
elemField.setXmlName(new javax.xml.namespace.QName("", "DlvTime"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("currency");
elemField.setXmlName(new javax.xml.namespace.QName("", "Currency"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("taxdepCty");
elemField.setXmlName(new javax.xml.namespace.QName("", "TaxdepCty"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("taxdstCty");
elemField.setXmlName(new javax.xml.namespace.QName("", "TaxdstCty"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("eutriDeal");
elemField.setXmlName(new javax.xml.namespace.QName("", "EutriDeal"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("mastContr");
elemField.setXmlName(new javax.xml.namespace.QName("", "MastContr"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("refProc");
elemField.setXmlName(new javax.xml.namespace.QName("", "RefProc"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("chkprtauth");
elemField.setXmlName(new javax.xml.namespace.QName("", "Chkprtauth"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("cmlqtyDat");
elemField.setXmlName(new javax.xml.namespace.QName("", "CmlqtyDat"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("version");
elemField.setXmlName(new javax.xml.namespace.QName("", "Version"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("notifNo");
elemField.setXmlName(new javax.xml.namespace.QName("", "NotifNo"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("wbsElem");
elemField.setXmlName(new javax.xml.namespace.QName("", "WbsElem"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("exchRateFiV");
elemField.setXmlName(new javax.xml.namespace.QName("", "ExchRateFiV"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("exchgRateV");
elemField.setXmlName(new javax.xml.namespace.QName("", "ExchgRateV"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("fkkConacct");
elemField.setXmlName(new javax.xml.namespace.QName("", "FkkConacct"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("campaign");
elemField.setXmlName(new javax.xml.namespace.QName("", "Campaign"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("docClass");
elemField.setXmlName(new javax.xml.namespace.QName("", "DocClass"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("HCurr");
elemField.setXmlName(new javax.xml.namespace.QName("", "HCurr"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("shipType");
elemField.setXmlName(new javax.xml.namespace.QName("", "ShipType"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("SProcInd");
elemField.setXmlName(new javax.xml.namespace.QName("", "SProcInd"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("lineTime");
elemField.setXmlName(new javax.xml.namespace.QName("", "LineTime"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
elemField = new org.apache.axis.description.ElementDesc();
elemField.setFieldName("calcMotive");
elemField.setXmlName(new javax.xml.namespace.QName("", "CalcMotive"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
elemField.setNillable(true);
typeDesc.addFieldDesc(elemField);
}
/**
* Return type metadata object
*/
public static org.apache.axis.description.TypeDesc getTypeDesc() {
return typeDesc;
}
/**
* Get Custom Serializer
*/
public static org.apache.axis.encoding.Serializer getSerializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanSerializer(
_javaType, _xmlType, typeDesc);
}
/**
* Get Custom Deserializer
*/
public static org.apache.axis.encoding.Deserializer getDeserializer(
java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType) {
return
new org.apache.axis.encoding.ser.BeanDeserializer(
_javaType, _xmlType, typeDesc);
}
}
| [
"carlossarmientor@gmail.com"
] | carlossarmientor@gmail.com |
8cd330007a962d585b274614330261357bb4d1f8 | f09f88ffe0ce39989f3dfda291b61002206d335f | /src/main/java/dev/majek/nicks/api/NoNickEvent.java | 0a09c089465b292c5694dd4716d3dc7be0dbc995 | [
"MIT"
] | permissive | MajekDev/PaperNicks | 400027b64fdd41d54b1b08cdd20358febac254f3 | 7f1f3c19e1dd95e42cbd22ddf9233045df4c37e8 | refs/heads/master | 2023-08-04T23:48:48.255280 | 2021-10-04T19:29:29 | 2021-10-04T19:29:29 | 422,681,902 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,924 | java | /*
* This file is part of PaperNicks, licensed under the MIT License.
*
* Copyright (c) 2021 Majekdor
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package dev.majek.nicks.api;
import net.kyori.adventure.text.Component;
import org.bukkit.entity.Player;
import org.bukkit.event.Cancellable;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;
import org.jetbrains.annotations.NotNull;
/**
* Handles the event fired when a player removes their nickname.
*/
public class NoNickEvent extends Event implements Cancellable {
private static final HandlerList HANDLER_LIST = new HandlerList();
private final Player player;
private final Component oldNick;
private boolean canceled;
/**
* Fires when a player removes their nickname using <code>/nonick</code>.
*
* @param player The in-game player changing the nickname.
* @param oldNick The player's old nickname being removed.
*/
public NoNickEvent(@NotNull Player player, @NotNull Component oldNick) {
this.player = player;
this.oldNick = oldNick;
this.canceled = false;
}
/**
* The in-game player attempting to change the nickname.
*
* @return Player.
*/
public Player player() {
return player;
}
/**
* The old nickname being removed.
*
* @return Old nickname.
*/
@NotNull
public Component oldNick() {
return oldNick;
}
/**
* {@inheritDoc}
*/
@Override
public boolean isCancelled() {
return canceled;
}
/**
* {@inheritDoc}
*/
@Override
public void setCancelled(boolean cancel) {
this.canceled = cancel;
}
/**
* {@inheritDoc}
*/
@Override
public @NotNull HandlerList getHandlers() {
return HANDLER_LIST;
}
/**
* Get the HandlerList. Bukkit requires this.
*
* @return HandlerList.
*/
public static HandlerList getHandlerList() {
return HANDLER_LIST;
}
} | [
"ksbarnes39@gmail.com"
] | ksbarnes39@gmail.com |
af3b3489eb329877d433a4db4b7bdfcd7f9f1ab8 | 5199e14992bca024a45e2b5e0cc0a1733cdc7cb9 | /src/com/algo/F6/Puzzle.java | 4fea8afe15789a885f1094c452ab620c17e306d5 | [] | no_license | TimothyHolmsten/Algoritmer_Datastrukturer | f714718929aa4c605075442c6bb9040e01765ff9 | 1041e565c44c13f2945c08855e7b08da3f3a5105 | refs/heads/master | 2020-05-28T05:25:32.976012 | 2017-04-16T12:20:20 | 2017-04-16T12:20:20 | 82,582,478 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,975 | java | package com.algo.F6;
/**
* Created by timothy on 2017-03-09, com.algo.F6.
*/
public class Puzzle {
final private static int[][] NORTHEAST = {{1, 1}, {1, 0}};
final private static int[][] NORTHWEST = {{1, 1}, {0, 1}};
final private static int[][] SOUTHEAST = {{1, 0}, {1, 1}};
final private static int[][] SOUTHWEST = {{0, 1}, {1, 1}};
final private static int GAMEFIELDLENGTH = 5;
final private static int[][] GAMEFIELD = new int[GAMEFIELDLENGTH][GAMEFIELDLENGTH];
public static int calculate(int positionX, int positionY) {
GAMEFIELD[positionX][positionY] = 1;
int[][] field = GAMEFIELD.clone();
return calculate(field, 0, 0, 0, 0) +
calculate(field, 1, 0, 0, 0) +
calculate(field, 2, 0, 0, 0) +
calculate(field, 3, 0, 0, 0);
}
private static int calculate(int[][] tmpField, int brick, int positionX, int positionY, int depth) {
if (positionY == 5) {
if (isSolved(tmpField))
return 1;
return 0;
}
int[][] whatBrick = null;
int[][] field = tmpField.clone();
switch (brick) {
case 0:
whatBrick = NORTHEAST;
break;
case 1:
whatBrick = NORTHWEST;
break;
case 2:
whatBrick = SOUTHEAST;
break;
case 3:
whatBrick = SOUTHWEST;
break;
}
if (doesFit(tmpField, whatBrick, positionX, positionY)) {
insertBrick(tmpField, whatBrick, positionX, positionY);
if (positionX == 4) {
positionX = -1;
positionY++;
}
return calculate(field, 0, positionX + 1, positionY, depth + 1) +
calculate(field, 1, positionX + 1, positionY, depth + 1) +
calculate(field, 2, positionX + 1, positionY, depth + 1) +
calculate(field, 3, positionX + 1, positionY, depth + 1);
}
return 0;
}
private static boolean doesFit(int[][] field, int[][] brick, int positionX, int positionY) {
for (int y = positionY; y < positionY + 1; y++)
for (int x = positionX; x < positionX + 1; x++)
if (brick[x % 2][y % 2] != 0 && field[x][y] != 0)
return false;
return true;
}
private static boolean isSolved(int[][] field) {
for (int y = 0; y < GAMEFIELDLENGTH; y++)
for (int x = 0; x < GAMEFIELDLENGTH; x++)
if (field[x][y] == 0)
return false;
return true;
}
private static void insertBrick(int[][] field, int[][] brick, int positionX, int positionY) {
for (int y = positionY; y < positionY + 1; y++)
for (int x = positionX; x < positionX + 1; x++)
field[x][y] = brick[x % 2][y % 2];
}
}
| [
"timhol@kth.se"
] | timhol@kth.se |
3078990a15fd2b14052750149a50feb227a742eb | 0171dd1dff273c74c958d1bcc4aad11838b027d0 | /Projects/StudentManagementSystem/src/com/lti/Exception/NegativeAgeException.java | cbd1ca99639cf00f6fb2d6e8ea7c358b5258f4f9 | [] | no_license | yashg714/sample | 9e69d4b5e64e4a787cac933a2e9e7c9d2dc5bb00 | 132c24c95c44fac90670fce35a7aaf6ef0573e47 | refs/heads/master | 2023-07-01T18:37:57.939368 | 2021-07-27T09:27:59 | 2021-07-27T09:27:59 | 389,929,631 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 155 | java | package com.lti.Exception;
public class NegativeAgeException extends Exception{
public NegativeAgeException(String message) {
super(message);
}
}
| [
"yashg714@gmail.com"
] | yashg714@gmail.com |
e18731b131e8ef47c56853cb88bfb803db1de5e5 | d965ae9fb717cd1c8096bd3a80a6ea4147a63a3c | /src/main/java/com/izanpin/common/config/ShiroTagFreeMarkerConfig.java | 6e4e0a6d1adeb2ed8458c9963a0b81f41ace87fc | [] | no_license | JanCong/LatiaoService | 073098df9789d2cb2d2cede074290cf4e32b74bb | 46782f99a0cf9fa2fb8af4537ea2fd04aed3e8af | refs/heads/master | 2022-01-30T01:51:36.804212 | 2017-12-13T07:01:35 | 2017-12-13T07:01:35 | 80,329,842 | 1 | 0 | null | 2022-01-04T05:11:41 | 2017-01-29T05:11:55 | JavaScript | UTF-8 | Java | false | false | 557 | java | package com.izanpin.common.config;
import com.jagregory.shiro.freemarker.ShiroTags;
import freemarker.template.TemplateException;
import org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer;
import java.io.IOException;
/**
* Created by St on 2017/2/8.
*/
public class ShiroTagFreeMarkerConfig extends FreeMarkerConfigurer {
@Override
public void afterPropertiesSet() throws IOException, TemplateException {
super.afterPropertiesSet();
this.getConfiguration().setSharedVariable("shiro", new ShiroTags());
}
}
| [
"smartcong@outlook.com"
] | smartcong@outlook.com |
661ba5e7cd0e843379b9a31138097ead86560e08 | cf003892bf01cfce89d7fdd1c75bfb2ed84d6a53 | /app/src/androidTest/java/com/bigbang/smartbutler/ExampleInstrumentedTest.java | b8c37440b169468d010e6ce0c40e8872ea6260b5 | [] | no_license | bigbanging/Smart_butler | a42e55bdc20748e466fcf1aafe5dfb91c9c00993 | 69982fa62177b9e4f4578f10fca62c10b81b7e68 | refs/heads/master | 2020-03-26T01:04:25.156007 | 2018-08-11T03:03:43 | 2018-08-11T03:03:43 | 144,350,951 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 730 | java | package com.bigbang.smartbutler;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
assertEquals("com.bigbang.smartbutler", appContext.getPackageName());
}
}
| [
"litter_k@163.com"
] | litter_k@163.com |
ef480e011b5c8d749e41ef95695e40a585c0ecd7 | 4138062c2205ba6d28232fd7dfc47f4b768e6b4e | /src/main/java/jpabook/jpashop/service/ItemService.java | 114bec99f0e45daea2f8180633b35466c6d3422a | [] | no_license | koamania/jpa_exam | caa5ba073c52fd09941f029936b834702ed552f9 | 987de7fa7b092f8f4a0d495ea69426703b3da426 | refs/heads/master | 2022-11-30T13:14:42.469138 | 2020-08-13T02:11:32 | 2020-08-13T02:11:32 | 271,078,250 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,091 | java | package jpabook.jpashop.service;
import jpabook.jpashop.domain.item.Book;
import jpabook.jpashop.domain.item.Item;
import jpabook.jpashop.repository.ItemRepository;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
@Service
@Transactional(readOnly = true)
@RequiredArgsConstructor
public class ItemService {
private final ItemRepository itemRepository;
@Transactional()
public void saveItem(Item item) {
itemRepository.save(item);
}
@Transactional
public void updateItem(Long itemId, UpdateItemDto updateItemDto) {
Item findItem = itemRepository.findOne(itemId);
findItem.setPrice(updateItemDto.getPrice());
findItem.setName(updateItemDto.getName());
findItem.setStockQuantity(updateItemDto.getStockQuantity());
}
public List<Item> findItems() {
return itemRepository.findAll();
}
public Item findOne(Long itemId) {
return itemRepository.findOne(itemId);
}
}
| [
"koamania2@gmail.com"
] | koamania2@gmail.com |
5fb99d198c5376fd0d1e559f29dac9447b3032fd | 56b4eb7aa373c9ef00b090da00108d1579a69734 | /PHAS3459/src/Final2015_2/ArrivalInterface.java | 327a1f965f7d734f8124f4d6a6372cf50822b316 | [] | no_license | StevenVuong/PHAS3459 | 376b0f438f904ad315a7eeac3c089e4e533f987a | 15f7b7f24779c04bea4bdffbf8d27706aafa0b43 | refs/heads/master | 2021-09-24T04:48:21.931707 | 2018-01-15T20:19:38 | 2018-01-15T20:19:38 | 109,007,917 | 0 | 1 | null | 2018-10-03T11:17:39 | 2017-10-31T14:32:01 | Java | UTF-8 | Java | false | false | 379 | java | package Final2015_2;
/**
* Interface to represent calculating the arrival time of a pulse
* @author SID: 15011252
* @version 15/01/2018
*/
public interface ArrivalInterface {
/**
* Method to return a double (time) for an input of the signal
* @param signal s
* @return arrivalTime double
*/
public double arrivalTime(Signal s, double param1);
}
| [
"steven_vuong@hotmail.co.uk"
] | steven_vuong@hotmail.co.uk |
6976208e7f30bca9a7566107f79e4e4d0a52763a | 216af5e9a0d51314c38febb5d6c97e498c202fe3 | /src/main/java/com/navercorp/mjboard/board/dao/CategoryDAO.java | 277597ea06365e2a676f2e698d169f88f4bdc554 | [] | no_license | Myeongjoon/NaverCaffeBoard | 333103ffa511dc544bdab4f37a3aed1a5f78a06c | 8a6785a98b6d981f489dcb4d97268bf643440abe | refs/heads/master | 2021-01-20T14:35:46.386325 | 2017-06-28T13:47:25 | 2017-06-28T13:47:25 | 82,761,621 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 309 | java | package com.navercorp.mjboard.board.dao;
import java.util.List;
import org.springframework.stereotype.Repository;
import com.navercorp.mjboard.board.model.Category;
@Repository
public interface CategoryDAO {
public List<Category> selectCategoryList();
public String selectCategoryName(Integer id);
} | [
"kimmj8409@gmail.com"
] | kimmj8409@gmail.com |
381b8b2e7f45a6cdcd3762e452739568147b4f7f | e1b140c04ed2bddea50182e48e33551808ce80a3 | /java/src/Factorial.java | 5b09a37ad87954937d9a8637c8e26610305433c2 | [] | no_license | shinewanna/Java-Projects | c9b5e3c823776e18cc4b976d003a60e41979f129 | 332c03078ada95442abcdd1264d66931fd079acb | refs/heads/main | 2023-02-10T18:32:32.951242 | 2021-01-04T04:47:37 | 2021-01-04T04:47:37 | 326,571,718 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 424 | java | public class Factorial {
private int method1(int n) {
int f=1;
for (int i=1;i<=n;i++)
{
f=f*i;
}
return f;
}
private int method2(int n)
{
if (n<=0)
return 1;
return n*method2(n-1);
}
public static void main(String[] args) {
int n = 5;
Factorial factorial = new Factorial();
System.out.println(factorial.method1(n));
System.out.println(factorial.method2(n));
}
}
| [
"bizleapintern2019@gmail.com"
] | bizleapintern2019@gmail.com |
dd47f625643280930dbdbe1c0ab323c83eebcff4 | 6f394d6a0591f6472ccfdc38a22cd5d5289c77c3 | /app/src/test/java/com/example/mohammadhusinaly/musicplayer/ExampleUnitTest.java | de3b6e5031071f00e399c627ec6ffc9969b49ce6 | [] | no_license | MohammedAli1994/MusicPlayer | fc85ca521659670925869a40475bb0bc4d361214 | 2749151236f3432bcde1d1973ee103955611f7e0 | refs/heads/master | 2021-06-05T14:09:05.276279 | 2020-09-13T09:24:56 | 2020-09-13T09:24:56 | 94,761,127 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 418 | java | package com.example.mohammadhusinaly.musicplayer;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
} | [
"M.Husen.Ali@hotmail.com"
] | M.Husen.Ali@hotmail.com |
6efda2ea886d0d3033a8635f77bcb27e16f76b3e | fa91450deb625cda070e82d5c31770be5ca1dec6 | /Diff-Raw-Data/30/30_5e8eb5e2e1699d58e262048600e8d6c83d6d210f/TransportBuddy/30_5e8eb5e2e1699d58e262048600e8d6c83d6d210f_TransportBuddy_t.java | 4c5224d3f236e2f72daa0cfb1bb9266710d2db9e | [] | no_license | zhongxingyu/Seer | 48e7e5197624d7afa94d23f849f8ea2075bcaec0 | c11a3109fdfca9be337e509ecb2c085b60076213 | refs/heads/master | 2023-07-06T12:48:55.516692 | 2023-06-22T07:55:56 | 2023-06-22T07:55:56 | 259,613,157 | 6 | 2 | null | 2023-06-22T07:55:57 | 2020-04-28T11:07:49 | null | UTF-8 | Java | false | false | 18,577 | java | /**
* $Revision$
* $Date$
*
* Copyright 2008 Daniel Henninger. All rights reserved.
*
* This software is published under the terms of the GNU Public License (GPL),
* a copy of which is included in this distribution.
*/
package net.sf.kraken.roster;
import net.sf.kraken.avatars.Avatar;
import net.sf.kraken.type.NameSpace;
import net.sf.kraken.type.PresenceType;
import org.apache.log4j.Logger;
import org.dom4j.DocumentHelper;
import org.dom4j.Element;
import org.dom4j.QName;
import org.jivesoftware.openfire.roster.RosterItem;
import org.jivesoftware.util.JiveGlobals;
import org.jivesoftware.util.NotFoundException;
import org.xmpp.packet.JID;
import org.xmpp.packet.Presence;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
/**
* Transport Buddy.
*
* This class is intended to be extended and includes all necessary pieces for
* syncing with a roster. It also handles keeping current statuses and such for
* easy retrieval and only sends presence changes upon status changes. So that
* the base transport can manage this list too sometimes, it is very important
* that the specific transport implementation take into account that there may
* buddy instances that do not know anything about any 'custom' fields the
* transport may be implementing.
*
* @author Daniel Henninger
*/
public class TransportBuddy {
static Logger Log = Logger.getLogger(TransportBuddy.class);
/**
* Default constructor, nothing set up.
*/
public TransportBuddy() {
// Nothing
}
/**
* Creates a TransportBuddy instance.
*
* @param manager Transport buddy manager we are associated with.
* @param contactname The legacy contact name.
* @param nickname The legacy nickname (can be null).
* @param groups The list of groups the legacy contact is in (can be null).
*/
public TransportBuddy(TransportBuddyManager manager, String contactname, String nickname, Collection<String> groups) {
this.managerRef = new WeakReference<TransportBuddyManager>(manager);
this.jid = manager.getSession().getTransport().convertIDToJID(contactname);
this.contactname = manager.getSession().getTransport().convertJIDToID(this.jid);
if (nickname != null) {
this.nickname = nickname;
}
else {
this.nickname = this.contactname;
}
if (groups != null && !groups.isEmpty()) {
this.groups = groups;
}
if (JiveGlobals.getBooleanProperty("plugin.gateway."+getManager().getSession().getTransport().getType()+".avatars", true)) {
try {
this.avatar = new Avatar(this.jid);
this.avatarSet = true;
}
catch (NotFoundException e) {
// Ok then, no avatar, no worries.
}
}
}
/**
* The transport buddy manager we are attached to.
*/
private WeakReference<TransportBuddyManager> managerRef = null;
public TransportBuddyManager getManager() {
return managerRef.get();
}
/**
* ID, Screenname, name, whatever the contact name is on the legacy system
*/
public String contactname = null;
/**
* Converted JID for the contact, for caching purposes
*/
public JID jid = null;
/**
* A nickname associated with this contact, if it exists.
*/
public String nickname = null;
/**
* A group associated with this contact, if it exists.
*/
public Collection<String> groups = new ArrayList<String>();
/**
* Specific requested subscription status, if desired.
*/
public RosterItem.SubType subtype = null;
/**
* Specific requested ask status, if desired.
*/
public RosterItem.AskType asktype = null;
/**
* Current presence status.
*/
public PresenceType presence = PresenceType.unavailable;
/**
* Current verbose status.
*/
public String verboseStatus = "";
/**
* Avatar instance associated with this contact.
*/
public Avatar avatar = null;
/**
* Has the avatar been set?
*/
public Boolean avatarSet = false;
/**
* Retrieves the name of the contact.
*
* @return Name of contact.
*/
public String getName() {
return contactname;
}
/**
* Retrieves the JID of the contact.
*
*
* @return JID of contact.
*/
public JID getJID() {
return jid;
}
/**
* Sets the name of the contact.
*
* @param contactname Username of the contact.
*/
public void setName(String contactname) {
this.jid = getManager().getSession().getTransport().convertIDToJID(contactname);
this.contactname = getManager().getSession().getTransport().convertJIDToID(this.jid);
}
/**
* Retrieves the nickname of the contact.
*
* @return Nickname of contact.
*/
public String getNickname() {
return nickname;
}
/**
* Sets the nickname of the contact.
*
* @param nickname Nickname of contact.
*/
public void setNickname(String nickname) {
Boolean changed = false;
if (nickname != null) {
if (this.nickname == null || !this.nickname.equals(nickname)) {
changed = true;
}
this.nickname = nickname;
}
else {
if (this.nickname == null || !this.nickname.equals(getName())) {
changed = true;
}
this.nickname = getName();
}
if (changed && getManager().isActivated()) {
Log.debug("TransportBuddy: Triggering contact update for "+this);
getManager().getSession().updateContact(this);
}
}
/**
* Retrieves the groups of the contact.
*
* @return Groups contact is in.
*/
public Collection<String> getGroups() {
return groups;
}
/**
* Sets the list of groups of the contact.
*
* @param groups List of groups the contact is in.
*/
public void setGroups(List<String> groups) {
Boolean changed = false;
if (groups != null && !groups.isEmpty()) {
if (this.groups == null || this.groups.isEmpty() || !groups.containsAll(this.groups) || !this.groups.containsAll(groups)) {
changed = true;
}
this.groups = groups;
}
else {
if (this.groups != null && !this.groups.isEmpty()) {
changed = true;
}
this.groups = null;
}
if (changed && getManager().isActivated()) {
Log.debug("TransportBuddy: Triggering contact update for "+this);
getManager().getSession().updateContact(this);
}
}
/**
* Sets the nickname and list of groups of the contact.
*
* @param nickname Nickname of contact.
* @param groups List of groups the contact is in.
*/
public void setNicknameAndGroups(String nickname, List<String> groups) {
Boolean changed = false;
if (nickname != null) {
if (this.nickname == null || !this.nickname.equals(nickname)) {
changed = true;
}
this.nickname = nickname;
}
else {
if (this.nickname == null || !this.nickname.equals(getName())) {
changed = true;
}
this.nickname = getName();
}
if (groups != null && !groups.isEmpty()) {
if (this.groups == null || this.groups.isEmpty() || !groups.containsAll(this.groups) || !this.groups.containsAll(groups)) {
changed = true;
}
this.groups = groups;
}
else {
if (this.groups != null && !this.groups.isEmpty()) {
changed = true;
}
this.groups = null;
}
if (changed && getManager().isActivated()) {
Log.debug("TransportBuddy: Triggering contact update for "+this);
getManager().getSession().updateContact(this);
}
}
/**
* Retrieves the subscription status for the contact.
*
* @return SubType if set.
*/
public RosterItem.SubType getSubType() {
return subtype;
}
/**
* Sets the subscription status for the contact.
*
* @param substatus Subscription status to be set.
*/
public void setSubType(RosterItem.SubType substatus) {
subtype = substatus;
}
/**
* Retrieves the ask status for the contact.
*
* @return AskType if set.
*/
public RosterItem.AskType getAskType() {
return asktype;
}
/**
* Sets the ask status for the contact.
*
* @param askstatus Ask status to be set.
*/
public void setAskType(RosterItem.AskType askstatus) {
asktype = askstatus;
}
/**
* Retrieves the current status.
*
* @return Current status setting.
*/
public PresenceType getPresence() {
return presence;
}
/**
* Sets the current status.
*
* @param newpresence New presence to set to.
*/
public void setPresence(PresenceType newpresence) {
if (newpresence == null) {
newpresence = PresenceType.unknown;
}
if (newpresence.equals(PresenceType.unavailable)) {
verboseStatus = "";
}
if (!presence.equals(newpresence)) {
Presence p = new Presence();
p.setTo(getManager().getSession().getJID());
p.setFrom(jid);
getManager().getSession().getTransport().setUpPresencePacket(p, newpresence);
if (!verboseStatus.equals("")) {
p.setStatus(verboseStatus);
}
if (avatarSet && avatar != null) {
Element vcard = p.addChildElement("x", NameSpace.VCARD_TEMP_X_UPDATE);
vcard.addElement("photo").addCDATA(avatar.getXmppHash());
vcard.addElement("hash").addCDATA(avatar.getXmppHash());
}
getManager().sendPacket(p);
}
presence = newpresence;
}
/**
* Retrieves the current verbose status.
*
* @return Current verbose status.
*/
public String getVerboseStatus() {
return verboseStatus;
}
/**
* Sets the current verbose status.
*
* @param newstatus New verbose status.
*/
public void setVerboseStatus(String newstatus) {
if (newstatus == null) {
newstatus = "";
}
if (!verboseStatus.equals(newstatus)) {
Presence p = new Presence();
p.setTo(getManager().getSession().getJID());
p.setFrom(jid);
getManager().getSession().getTransport().setUpPresencePacket(p, presence);
if (!newstatus.equals("")) {
p.setStatus(newstatus);
}
if (avatarSet && avatar != null) {
Element vcard = p.addChildElement("x", NameSpace.VCARD_TEMP_X_UPDATE);
vcard.addElement("photo").addCDATA(avatar.getXmppHash());
vcard.addElement("hash").addCDATA(avatar.getXmppHash());
}
getManager().sendPacket(p);
}
verboseStatus = newstatus;
}
/**
* Convenience routine to set both presence and verbose status at the same time.
*
* @param newpresence New presence to set to.
* @param newstatus New verbose status.
*/
public void setPresenceAndStatus(PresenceType newpresence, String newstatus) {
Log.debug("Updating status ["+newpresence+","+newstatus+"] for "+this);
if (newpresence == null) {
newpresence = PresenceType.unknown;
}
if (newstatus == null) {
newstatus = "";
}
if (newpresence.equals(PresenceType.unavailable)) {
newstatus = "";
}
if (!presence.equals(newpresence) || !verboseStatus.equals(newstatus)) {
Presence p = new Presence();
p.setTo(getManager().getSession().getJID());
p.setFrom(jid);
getManager().getSession().getTransport().setUpPresencePacket(p, newpresence);
if (!newstatus.equals("")) {
p.setStatus(newstatus);
}
if (avatarSet && avatar != null) {
Element vcard = p.addChildElement("x", NameSpace.VCARD_TEMP_X_UPDATE);
vcard.addElement("photo").addCDATA(avatar.getXmppHash());
vcard.addElement("hash").addCDATA(avatar.getXmppHash());
}
getManager().sendPacket(p);
}
presence = newpresence;
verboseStatus = newstatus;
}
/**
* Sends the current presence to the session user.
*
* @param to JID to send presence updates to.
*/
public void sendPresence(JID to) {
Presence p = new Presence();
p.setTo(to);
p.setFrom(jid);
getManager().getSession().getTransport().setUpPresencePacket(p, presence);
if (verboseStatus != null && verboseStatus.length() > 0) {
p.setStatus(verboseStatus);
}
if (avatarSet && avatar != null) {
Element vcard = p.addChildElement("x", NameSpace.VCARD_TEMP_X_UPDATE);
vcard.addElement("photo").addCDATA(avatar.getXmppHash());
vcard.addElement("hash").addCDATA(avatar.getXmppHash());
}
getManager().sendPacket(p);
}
/**
* Sends the current presence only if it's not unavailable.
*
* @param to JID to send presence updates to.
*/
public void sendPresenceIfAvailable(JID to) {
if (!presence.equals(PresenceType.unavailable)) {
sendPresence(to);
}
}
/**
* Sends an offline presence for a contact only if it is currently online.
*
* In case you are wondering why, this is useful when a resource goes offline and we want to indicate all contacts are offline.
*
* @param to JID to send presence updates to.
*/
public void sendOfflinePresenceIfAvailable(JID to) {
if (!presence.equals(PresenceType.unavailable)) {
Presence p = new Presence();
p.setType(Presence.Type.unavailable);
p.setTo(to);
p.setFrom(jid);
getManager().sendPacket(p);
}
}
/**
* Retrieves the cached avatar associated with this contact.
*
* @return The avatar associated with this contact, or null if no avatar present.
*/
public Avatar getAvatar() {
return avatar;
}
/**
* Sets the current avatar for this contact.
*
* @param avatar Avatar instance to associate with this contact.
*/
public void setAvatar(Avatar avatar) {
boolean triggerUpdate = false;
if ( (avatar != null && this.avatar == null) ||
(avatar == null && this.avatar != null) ||
(avatar != null && !this.avatar.getXmppHash().equals(avatar.getXmppHash()))) {
triggerUpdate = true;
}
this.avatar = avatar;
this.avatarSet = true;
if (triggerUpdate) {
Presence p = new Presence();
p.setTo(getManager().getSession().getJID());
p.setFrom(jid);
getManager().getSession().getTransport().setUpPresencePacket(p, presence);
if (!verboseStatus.equals("")) {
p.setStatus(verboseStatus);
}
Element vcard = p.addChildElement("x", NameSpace.VCARD_TEMP_X_UPDATE);
if (avatar != null) {
vcard.addElement("photo").addCDATA(avatar.getXmppHash());
vcard.addElement("hash").addCDATA(avatar.getXmppHash());
}
getManager().sendPacket(p);
}
}
/**
* Adds the PHOTO vcard element (representing an avatar) to an existing vcard.
*
* This will add the avatar to a vcard if there's one to add. Otherwise will not add anything.
* If added, a properly formatted PHOTO element with base64 encoded data in it will be added.
*
* param vcard vcard to add PHOTO element to
*/
public void addVCardPhoto(Element vcard) {
if (!avatarSet) {
Log.debug("TransportBuddy: I've got nothing! (no avatar set)");
return;
}
Element photo = vcard.addElement("PHOTO");
if (avatar != null) {
try {
photo.addElement("TYPE").addCDATA(avatar.getMimeType());
photo.addElement("BINVAL").addCDATA(avatar.getImageData());
}
catch (NotFoundException e) {
// No problem, leave it empty then.
}
}
}
/**
* Returns the entire vcard element for an avatar.
*
* This will return a vCard element, filled in as much as possible, regardless of whether we have
* real data for the user. It'll return minimal regardless.
*
* @return vCard element
*/
public Element getVCard() {
Element vcard = DocumentHelper.createElement(QName.get("vCard", NameSpace.VCARD_TEMP));
vcard.addElement("VERSION").addCDATA("2.0");
vcard.addElement("JABBERID").addCDATA(getJID().toString());
vcard.addElement("NICKNAME").addCDATA(getNickname() == null ? getName() : getNickname());
if (JiveGlobals.getBooleanProperty("plugin.gateway."+getManager().getSession().getTransport().getType()+".avatars", true)) {
addVCardPhoto(vcard);
}
return vcard;
}
/**
* Outputs information about the transport buddy in a pretty format.
*/
public String toString() {
return "{Buddy: "+this.jid+" (Nickname: "+this.nickname+") (Groups: "+this.groups+")}";
}
}
| [
"yuzhongxing88@gmail.com"
] | yuzhongxing88@gmail.com |
e4a5cec3e9a8994a17c9d3c21175b572eaea62a4 | 78348f2c2da76c4c3ff656d9616c7a91f265a39f | /src/test/java/com/streamsets/pipeline/api/impl/annotationsprocessor/DummyConnectionVerifier.java | 59cd095773c48a030c8614884fe36caeaddec532 | [
"Apache-2.0",
"MIT"
] | permissive | streamsets/datacollector-api-oss | 176747edfe4375de05d34afc9a7099b67e6c4e19 | 3f17d7a6791a0a9224e9ea01daf502a60e08d6c1 | refs/heads/master | 2023-09-02T01:22:04.880192 | 2021-04-15T23:19:36 | 2021-04-15T23:19:36 | 365,030,098 | 3 | 17 | null | null | null | null | UTF-8 | Java | false | false | 928 | java | /*
* Copyright 2020 StreamSets Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.streamsets.pipeline.api.impl.annotationsprocessor;
import com.streamsets.pipeline.api.ConnectionVerifierDef;
@ConnectionVerifierDef(
verifierType = DummyConnection.TYPE,
connectionFieldName = "connection",
connectionSelectionFieldName = "connectionSelection"
)
public class DummyConnectionVerifier {
}
| [
"rkanter@streamsets.com"
] | rkanter@streamsets.com |
76c3fa4b58ac270f3c6c0165c8c51d7ca1d6e695 | a0291bb2d6491928acfe1a801070679c77c5e7b6 | /src/main/java/com/muziyuchen/grule/condition/AbstractCondition.java | 28652bd398aa243b548f4f624a7b1ac8602eeb2d | [
"Apache-2.0"
] | permissive | linian365boy/g-rule | b9ecc45938a3ec4a09fc26e7ca673aee1e3022c1 | ddcd28214e570ec99e86af0f6d905ad0f1671e6d | refs/heads/master | 2021-01-22T13:47:49.069134 | 2016-08-29T06:59:26 | 2016-08-29T06:59:26 | 65,977,683 | 0 | 0 | null | 2016-08-18T08:03:12 | 2016-08-18T08:03:12 | null | UTF-8 | Java | false | false | 630 | java | package com.muziyuchen.grule.condition;
import com.muziyuchen.grule.Unit;
/**
* 抽象条件类
* Created by LI_ZHEN on 2016/5/5.
*/
public abstract class AbstractCondition implements Condition {
protected Unit _trueUnit = null;
protected Unit _falseUnit = null;
public final void registerTrueUnit(Unit unit) {
this._trueUnit = unit;
}
public final void registerFalseUnit(Unit unit) {
this._falseUnit = unit;
}
public final Unit next() {
if (this.getResult()) {
return this._trueUnit;
} else {
return this._falseUnit;
}
}
}
| [
"lizhen@fero.com.cn"
] | lizhen@fero.com.cn |
2bc3007c5b6c391f3abd50c3a314d21b516fafdc | 0bc6c1834805a72b8716e398068d9df1f9affda2 | /app/src/main/java/br/com/jhowcs/roomexample/repository/local/user/UserDao.java | eac3f2de7caf080d14f944dbf14b383aac6cffd0 | [] | no_license | jhowcs/architecture-components | 9f4219ee54e2cb431dbf4ce5cff0251eaa5e93f5 | e841289839911a0161aca1c5065985a5c327afd1 | refs/heads/master | 2021-01-23T23:13:07.056807 | 2017-09-14T01:19:42 | 2017-09-14T01:20:50 | 102,959,244 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 696 | java | package br.com.jhowcs.roomexample.repository.local.user;
import android.arch.persistence.room.Dao;
import android.arch.persistence.room.Delete;
import android.arch.persistence.room.Insert;
import android.arch.persistence.room.Query;
import java.util.List;
@Dao
public interface UserDao {
@Query("SELECT * FROM user")
List<User> getAll();
@Query("SELECT * FROM user WHERE id = :id")
User getById(int id);
@Query("SELECT * FROM User WHERE first_name LIKE :names OR last_name LIKE :names ")
List<User> getByNames(String names);
@Query("SELECT MAX(id) FROM user")
int maxId();
@Insert
void insert(User user);
@Delete
void delete(User user);
}
| [
"jhowcs@gmail.com"
] | jhowcs@gmail.com |
a8db4fe4794c30553627985c844595019c379a52 | a35c62075f8602b197cc2a090058c8c9c2e98c70 | /camera-upgrade/src/main/java/com/gzrock/client/UpgradeClient.java | 0f0fce691e797ebf840038dee323167e2610b975 | [] | no_license | iloverson76/camera-upgrade | 56026af2ed3a841c0794916a53939c893622683d | a3c8e4ef246b382cffd1f6c5405b98e7689ceab3 | refs/heads/master | 2022-12-25T19:13:30.511740 | 2019-11-13T01:14:09 | 2019-11-13T01:14:09 | 214,349,093 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,442 | java | package com.gzrock.client;
import com.gzrock.server.InteractionUtil;
import com.gzrock.server.UpgradeServer;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import java.io.*;
import java.net.Socket;
import java.net.UnknownHostException;
import java.nio.CharBuffer;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;
public class UpgradeClient {
public static Log logger = LogFactory.getLog(UpgradeServer.class);
public static final Object locked = new Object();
public static final BlockingQueue<String> queue = new ArrayBlockingQueue<String>(
1024 * 100);
class SendThread extends Thread {
public Log logger = LogFactory.getLog(UpgradeServer.class);
private Socket socket;
OutputStreamWriter writer;
private boolean writeable=false;
public SendThread(Socket socket) {
try {
this.socket = socket;
writer = new OutputStreamWriter(socket.getOutputStream());
writeable=true;
} catch (IOException e) {
e.printStackTrace();
}
}
@Override
public void run() {
while (writeable) {
try {
byte[] msg = getMsg();
if (msg.length > 0) {
writer.write(new String(msg));
writer.flush();
// writeable=false;
}
}catch(Exception e){
e.printStackTrace();
}
}
}
public byte[] getMsg() throws InterruptedException{
Thread.sleep(1000);
StringBuffer data=new StringBuffer();
data.append("A99762000000013").append("\n")
.append("U5820HCA").append("\n")
.append("app:")
.append(500).append("\n");
return InteractionUtil.getBytesWithoutFile(InteractionUtil.CMD_UPGRADE_RESULT_REQUEST,data);
}
}
class ReceiveThread extends Thread{
private Socket socket;
InputStreamReader reader;
private boolean readable=false;
public ReceiveThread(Socket socket) {
try {
this.socket = socket;
reader = new InputStreamReader(socket.getInputStream());
readable=true;
} catch (IOException e) {
e.printStackTrace();
}
}
@Override
public void run() {
while(readable){
try {
CharBuffer charBuffer = CharBuffer.allocate(8192);
int index = -1;
while((index=reader.read(charBuffer))!=-1){
charBuffer.flip();
logger.info("client:"+charBuffer.toString());
}
// readable=false;
} catch (Exception e) {
e.printStackTrace();
}
}
}
}
public void start() throws UnknownHostException, IOException{
Socket socket = new Socket("127.0.0.1",8888);
new SendThread(socket).start();
new ReceiveThread(socket).start();
}
public static void main(String[] args) throws UnknownHostException, IOException {
new UpgradeClient().start();
}
}
| [
"iloverson76er@hotmail.com"
] | iloverson76er@hotmail.com |
c2251dec07186f3d06f0e9b84162ed0c0346daed | ccf7b481f6d441aeddf74222dc45bea2ae114caf | /app/src/main/java/com/example/splashscreen/MainActivity.java | 467a481fb2d1161479e9f9e182c7e05071ce1ba0 | [] | no_license | BrendaEAC/SplashScreen | c97c16bdd6f52b7bb53372a407d291da5ebd1dc8 | bcbeaad242f080d696c3c8a377e3c6fd9970ae0e | refs/heads/master | 2020-07-29T19:10:23.060009 | 2019-09-21T04:56:36 | 2019-09-21T04:56:36 | 209,926,992 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,243 | java | package com.example.splashscreen;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.net.URLConnection;
public class MainActivity extends AppCompatActivity {
EditText txtUser, txtPass;
String user, password;
Button btnRegistrar;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
txtUser = findViewById(R.id.TxtEmail2);
txtPass = findViewById(R.id.TxtPassword2);
btnRegistrar = findViewById(R.id.botonRegistrar);
btnRegistrar.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(MainActivity.this, MenuActivity.class);
startActivity(intent);
}
});
}
public void login(View view) {
user = txtUser.getText().toString().trim();
password = txtPass.getText().toString();
//vaidar los datos de la interfaz (usuario,password)
if (TextUtils.isEmpty(user)) {
txtUser.setError("usuario vacio");
txtUser.setFocusable(true);
return;
}
if (TextUtils.isEmpty(password)) {
txtPass.setError("contraseña vacia");
txtPass.setFocusable(true);
return;
}
new LoginRest().execute(user, password);
}
//clase asyncTask
class LoginRest extends AsyncTask<String, Integer, String> {
//variable peticioon
URLConnection connection = null;
//variable para resultado de la peticion
String result = "0";
@Override
protected String doInBackground(String... strings) {
try {
connection = new URL("http://172.18.26.66/cursoAndroid/vista/usuario/iniciarSesion.php?usuario=" + strings[0] + "&password=" + strings[1]).openConnection();
InputStream inputStream = (InputStream) connection.getContent();
byte[] buffer = new byte[10000];
//indica cuantos datos son datos en la cadena de respuesta
int size = inputStream.read(buffer);
result = new String(buffer, 0, size);
Log.i("result", result);
} catch (IOException e) {
e.printStackTrace();
}
return result;
}
@Override
protected void onPostExecute(String s) {
super.onPostExecute(s);
// equals para comparar cadenas
if (s.equals("1")) {
Intent intent = new Intent(MainActivity.this, MenuActivity.class);
startActivity(intent);
} else {
Toast.makeText(MainActivity.this, "Usuario o contraseña incorrectos", Toast.LENGTH_SHORT).show();
}
}
}
} | [
"55610649+BrendaEAC@users.noreply.github.com"
] | 55610649+BrendaEAC@users.noreply.github.com |
9949e18889373044f4797e0fd9f833c66fb24b15 | bbef3f82e48c35c5fdb71e002eb468e43b9b9a3b | /src/coheal/iservices/user/IServiceAdmin.java | 9a77d99d83b156c5d7b5c1611dbc6c4dae81b920 | [] | no_license | BilelBelliliDev/CoHeal-Desktop | 013475fd068e75099efe62ffafd2d9420da825c6 | 9a365ce96840e9953fc6880498953fd2c8dd6161 | refs/heads/master | 2023-06-22T12:03:05.877539 | 2021-05-20T12:22:29 | 2021-05-20T12:22:29 | 338,333,111 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 529 | java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package coheal.iservices.user;
import coheal.entities.user.Role;
import coheal.entities.user.User;
import java.util.List;
import javafx.collections.ObservableList;
/**
*
* @author wajdi's pc
*/
public interface IServiceAdmin {
public ObservableList<User> GetListPersonnes();
public ObservableList<Role> GetListRoles();
}
| [
"73437985+BilelBelliliDev@users.noreply.github.com"
] | 73437985+BilelBelliliDev@users.noreply.github.com |
40af20c900017db50d514fdf082beb0e938a95c0 | 563c546c248da0f7d0050d50b5d08fd8028237c9 | /src/main/java/com/accolite/mini_au/Rest_Assignment/resource/MemberResource.java | 12b6000864cc4432366c8590a51cc9fa9c6a5ed0 | [] | no_license | rithvik-reddy-koripelli/Rest-Assignment | a4d2c9872530590ff03bad51007ab42332d95e24 | b777837d6009b757376eeca257f7da7182763e60 | refs/heads/master | 2021-09-03T03:17:16.144092 | 2018-01-05T04:48:18 | 2018-01-05T04:48:18 | 116,343,103 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,369 | java | package com.accolite.mini_au.Rest_Assignment.resource;
import java.util.List;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import com.accolite.mini_au.Rest_Assignment.model.Member;
import com.accolite.mini_au.Rest_Assignment.service.MemberService;
@Path("/members")
public class MemberResource {
MemberService memberservice = new MemberService();
@GET
@Produces(MediaType.APPLICATION_JSON)
public List<Member> getMembers()
{
return memberservice.getMembers();
}
@GET
@Path("/{membername}")
@Produces(MediaType.APPLICATION_XML)
public Member getEmployeeById(@PathParam("membername") String name)
{
return memberservice.getMemberByName(name);
}
@POST
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
public boolean addEmployee(Member msg)
{
return memberservice.addMember(msg);
}
@PUT
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
public boolean modifyEmployee(Member m)
{
return memberservice.modifyMember(m);
}
@DELETE
@Path("/{membername}")
public boolean deleteEmployee(@PathParam("membername") String name)
{
return memberservice.deleteMember(name);
}
}
| [
"rithvik.reddy@accoliteindia.com"
] | rithvik.reddy@accoliteindia.com |
d579f14b28c25e2c3dbab5b19e60474f4ba8d782 | 8f4fb6ce16ce75d1342a98dfd952bab4425ee075 | /src/main/java/com/start/boot/service/impl/PdxServiceImpl.java | bdb221f53117db87702bab954492f6248269e533 | [] | no_license | cyvation/hubei_zlpc | a572ffdf2ac86e88bbf18f103a6ea159c3bbf1e1 | 3e0eb3320edd167c4966838200e4c027ed3e7396 | refs/heads/master | 2020-03-13T14:24:12.382527 | 2019-01-31T07:51:28 | 2019-01-31T07:51:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 10,971 | java | package com.start.boot.service.impl;
import com.start.boot.common.SystemConfiguration;
import com.start.boot.dao.ajpc.*;
import com.start.boot.domain.*;
import com.start.boot.query.PdxQuery;
import com.start.boot.service.PcService;
import com.start.boot.service.PdxService;
import com.start.boot.utils.PoiUtils;
import org.joda.time.DateTime;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.util.CollectionUtils;
import org.springframework.util.StringUtils;
import java.io.File;
import java.util.*;
import java.util.stream.Collectors;
/**
* Created by lei on 2018/11/13.
*/
@Service
public class PdxServiceImpl implements PdxService {
@Autowired
private PdxMapper pdxMapper;
@Autowired
private YxDcPdxMapper yxDcPdxMapper;
@Autowired
private YX_PC_JBXXMapper yxPcJbxxMapper;
@Autowired
private YxPcJzwjMapper jzwjMapper;
@Autowired
private Yx_Pc_PcxMapper yx_pc_pcxMapper;
@Autowired
private XtZzjgRmbmMapper xtZzjgRmbmMapper;
@Autowired
PcService pcService;
@Autowired
private PoiUtils poiUtils;
@Override
public List<Map> getPdx(PdxQuery query) {
return pdxMapper.getPdx(query);
}
@Override
@Transactional
public void savePdx(String pcslbm, List<YxDcPdx> yxDcPdxes) {
if (!CollectionUtils.isEmpty(yxDcPdxes)){
YxDcPdxExample example = new YxDcPdxExample();
example.createCriteria().andPcslbmEqualTo(pcslbm);
yxDcPdxMapper.deleteByExample(example);
for (YxDcPdx yxDcPdx : yxDcPdxes) {
yxDcPdxMapper.insertSelective(yxDcPdx);
}
YX_PC_JBXX jbxx = new YX_PC_JBXX();
jbxx.setPCSLBM(pcslbm);
jbxx.setPCJL(yxDcPdxes.get(0).getPdjg() + "案件");
yxPcJbxxMapper.updateByPrimaryKeySelective(jbxx);
}
}
@Override
@Transactional
public String generatePdxDoc(String pcslbm) throws Exception {
// 获取案件信息
YX_PC_JBXX yx_pc_jbxx = yxPcJbxxMapper.selectByPrimaryKey(pcslbm);
// 获取评定项
List<YxDcPdx> list= pdxMapper.getSelectedPdx(pcslbm);
// 获取评查意见
List<Yx_Pc_Pcx> pcxList = pdxMapper.getSelectedPcx(pcslbm);
// 证据采信、事实认定、、、作为key
// 1.证据采信:物证、书证等证据的形式存在瑕疵(有很多问题),首次讯问、询问笔录没有记录告知被讯问人、证人、被害人有关权利义务(sdfsd);
// 2.事实认定:认定的前科劣迹、自首、坦白、立功等影响量刑的事实或情节有遗漏或者错误,认定的案件基本事实要素有遗漏或者有错误
StringBuilder sb = new StringBuilder();
for (int i = 0; i < list.size(); i++) {
YxDcPdx yxDcPdx = list.get(i);
sb.append(i+1).append(".").append(yxDcPdx.getPdxflbm()).append(":");
sb.append(yxDcPdx.getPdyj());
sb.append(";");
sb.append("\r");
}
//问题项
StringBuilder wtx = new StringBuilder();
for (int i = 0; i < pcxList.size(); i++) {
Yx_Pc_Pcx pcx = pcxList.get(i);
wtx.append(i+1).append(".").append(pcx.getPcxflbm()).append(":");
wtx.append(pcx.getPcxmc());
wtx.append(";");
wtx.append("\r");
}
// 获取评定报告模板
String source = SystemConfiguration.wzbsPath + "/Files/json/pcgb/moban/评定报告模板.doc";
String savePath = "/" + SystemConfiguration.djdwbm + "/" + DateTime.now().getYear() + "/" + yx_pc_jbxx.getPCHDBM() + "/" +yx_pc_jbxx.getPCSLBM() + "/" + UUID.randomUUID().toString().replaceAll("-","") +".doc";
String path = SystemConfiguration.pcjzPath + savePath;
String target = SystemConfiguration.wzbsPath + path;
Map<String, String> params = new HashMap<>();
params.put("${AJMC}",yx_pc_jbxx.getAJMC());
params.put("${BPC_MC}",yx_pc_jbxx.getBPCMC());
params.put("${AJLB_MC}",yx_pc_jbxx.getAJLBMC());
params.put("${PCR_MC}",yx_pc_jbxx.getPCRMC());
params.put("${PCRQ}",DateTime.now().toString("yyyy年MM月dd日"));
params.put("${BMSAH}",yx_pc_jbxx.getBMSAH());
params.put("${WT}",wtx.toString());
params.put("${YJ}",sb.toString());
params.put("${PCJL}", StringUtils.isEmpty(yx_pc_jbxx.getPCJL()) ? "": yx_pc_jbxx.getPCJL());
poiUtils.createBg(source, target, params,null);
Param_Jzwj jzwj = new Param_Jzwj();
jzwj.setWscflj(savePath);
jzwj.setWjmc("评定报告");
jzwj.setWsmbbh("420000000007");
jzwj.setWjkzm(".doc");
insertJzwj(jzwj, yx_pc_jbxx);
return savePath;
}
// 将评定报告插入数据库
private void insertJzwj(Param_Jzwj jzwj, YX_PC_JBXX yx_pc_jbxx) throws Exception {
// 移除以前的
YxPcJzwjExample example = new YxPcJzwjExample();
example.createCriteria().andPczybmEqualTo(yx_pc_jbxx.getPCSLBM())
.andWjlxEqualTo("3").andWsmbbhEqualTo(jzwj.getWsmbbh());
YxPcJzwj record = new YxPcJzwj();
record.setSfsc("Y");
jzwjMapper.updateByExampleSelective(record, example);
// 放到个案报告底下
String jzmlh = SystemConfiguration.djdwbm + yx_pc_jbxx.getPCFLBM() + "003";
jzwj.setFjzwjbh("-1");
jzwj.setDwbm(yx_pc_jbxx.getPCDWBM());
jzwj.setPczybm(yx_pc_jbxx.getPCSLBM());
jzwj.setWjlx("3");
jzwj.setJzmlh(jzmlh);
// jzwj.setWjmc("评定报告");
jzwj.setGxlx("1");
jzwj.setNzrdwbm(yx_pc_jbxx.getPCRDWBM());
jzwj.setNzrdwmc(yx_pc_jbxx.getPCRDWMC());
jzwj.setNzrgh(yx_pc_jbxx.getPCRGH());
jzwj.setNzrxm(yx_pc_jbxx.getPCRMC());
pcService.addJzwj(jzwj);
}
/**
* 生成 案件质量评查意见书
* 一。被评查案件基本情况
* 二。评查工作开展情况
* 三。评查过程中发现的问题 -- 有则填、无则空
* 四、评查小组联席会议情况 -- 暂空
* 五、结果等次建议及评定依据
* 六、其他需要说明的问题 -- 暂空
* @param pcslbm
* @return
*/
@Override
@Transactional
public String generateAjpcDoc(String pcslbm) throws Exception {
// 案件信息
YX_PC_JBXX yx_pc_jbxx = yxPcJbxxMapper.selectByPrimaryKey(pcslbm);
// 获取评定项
List<YxDcPdx> list= pdxMapper.getSelectedPdx(pcslbm);
// 获取检察官身份
String cbr_duty = "";
XtZzjgRmbmExample example = new XtZzjgRmbmExample();
example.createCriteria().andDwbmEqualTo(yx_pc_jbxx.getBPCDWBM()).andGhEqualTo(yx_pc_jbxx.getBPCGH());
List<XtZzjgRmbm> xtZzjgRmbms = xtZzjgRmbmMapper.selectByExample(example);
if (!CollectionUtils.isEmpty(xtZzjgRmbms)){
XtZzjgRmbm xtZzjgRmbm = xtZzjgRmbms.get(0);
String sfmc = xtZzjgRmbm.getSfmc();
if (StringUtils.isEmpty(sfmc)){
cbr_duty = yx_pc_jbxx.getBPCBMMC() + yx_pc_jbxx.getBPCMC();
}else {
cbr_duty = yx_pc_jbxx.getBPCBMMC() + sfmc;
}
}
Map<String, String> params = new HashMap<>();
params.put("${BMSAH}",yx_pc_jbxx.getPCSAH()); // 换成评查受案号
params.put("${AJMC}",yx_pc_jbxx.getAJMC());
params.put("${BPC_DWMC}",yx_pc_jbxx.getBPCDWMC());
params.put("${BPC_MC}",yx_pc_jbxx.getBPCMC());
// 人员职务
params.put("${CBR_DUTY}",cbr_duty);
String pcflmc = "";
switch (yx_pc_jbxx.getPCFLBM()){
case "001": pcflmc = "随机筛选";
break;
case "008":pcflmc = "重点筛选";
break;
case "003":pcflmc = "专项筛选";
break;
}
params.put("${PCFLMC}",pcflmc);
//评定项 拼凑评查过程中发现的问题
String[] pdxflmc = {"证据采信","事实认定","法律适用","办案程序","法律文书","释法说理","办案效果","司法责任落实","统一业务系统规范使用"};
String[] preWt =new String[9];
Arrays.fill(preWt,"未发现问题");
for (int i = 0; i < pdxflmc.length; i++) {
List<YxDcPdx> pdxList = pdxMapper.getPdxWt(pcslbm, pdxflmc[i]);
// 1. 违反管辖规定受理、办理案件: 备注
// 2. 法定量刑情节认定不当: 备注
if (!CollectionUtils.isEmpty(pdxList)){
StringBuilder sb = new StringBuilder();
for (int index = 0; i < pdxList.size(); i++) {
YxDcPdx yxDcPdx = pdxList.get(i);
sb.append(index+1).append(".").append(yxDcPdx.getPdxmc()).append(":");
sb.append(yxDcPdx.getPdyj());
sb.append(";");
sb.append("\n");
}
preWt[i] = sb.toString();
}
}
params.put("${一}",preWt[0]);
params.put("${二}",preWt[1]);
params.put("${三}",preWt[2]);
params.put("${四}",preWt[3]);
params.put("${五}",preWt[4]);
params.put("${六}",preWt[5]);
params.put("${七}",preWt[6]);
params.put("${八}",preWt[7]);
params.put("${九}",preWt[8]);
StringBuilder sb = new StringBuilder();
for (int i = 0; i < list.size(); i++) {
YxDcPdx yxDcPdx = list.get(i);
sb.append(i+1).append(".").append(yxDcPdx.getPdxflbm()).append(":");
sb.append(yxDcPdx.getPdyj());
sb.append(";");
sb.append("\r");
}
params.put("${PDYJ}",sb.toString());
params.put("${PCJL}",StringUtils.isEmpty(yx_pc_jbxx.getPCJL()) ? "": yx_pc_jbxx.getPCJL());
params.put("${PCR_MC}",yx_pc_jbxx.getPCRMC());
params.put("${CJSJ}",DateTime.now().toString("yyyy年MM月dd日"));
// 获取评定报告模板
String source = SystemConfiguration.wzbsPath + "/Files/json/pcgb/moban/评查意见书.doc";
String savePath = "/" + SystemConfiguration.djdwbm + "/" + DateTime.now().getYear() + "/" + yx_pc_jbxx.getPCHDBM() + "/" +yx_pc_jbxx.getPCSLBM() + "/" + UUID.randomUUID().toString().replaceAll("-","") +".doc";
String path = SystemConfiguration.pcjzPath + savePath;
String target = SystemConfiguration.wzbsPath + path;
poiUtils.createBg(source, target, params,null);
Param_Jzwj jzwj = new Param_Jzwj();
jzwj.setWscflj(savePath);
jzwj.setWjmc("评查意见书");
jzwj.setWsmbbh("420000000008");
jzwj.setWjkzm(".doc");
insertJzwj(jzwj, yx_pc_jbxx);
return savePath;
}
}
| [
"2391923850@qq.com"
] | 2391923850@qq.com |
e55a1f5507eee8072822b176104f2ac58c52ec18 | 4688d19282b2b3b46fc7911d5d67eac0e87bbe24 | /aws-java-sdk-waf/src/main/java/com/amazonaws/services/waf/model/waf_regional/transform/UpdateSizeConstraintSetRequestProtocolMarshaller.java | 345eac093b46176d86eba26b12a62c90eed079f6 | [
"Apache-2.0"
] | permissive | emilva/aws-sdk-java | c123009b816963a8dc86469405b7e687602579ba | 8fdbdbacdb289fdc0ede057015722b8f7a0d89dc | refs/heads/master | 2021-05-13T17:39:35.101322 | 2018-12-12T13:11:42 | 2018-12-12T13:11:42 | 116,821,450 | 1 | 0 | Apache-2.0 | 2018-09-19T04:17:41 | 2018-01-09T13:45:39 | Java | UTF-8 | Java | false | false | 2,783 | java | /*
* Copyright 2012-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.waf.model.waf_regional.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.Request;
import com.amazonaws.http.HttpMethodName;
import com.amazonaws.services.waf.model.*;
import com.amazonaws.transform.Marshaller;
import com.amazonaws.protocol.*;
import com.amazonaws.annotation.SdkInternalApi;
/**
* UpdateSizeConstraintSetRequest Marshaller
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
@SdkInternalApi
public class UpdateSizeConstraintSetRequestProtocolMarshaller implements Marshaller<Request<UpdateSizeConstraintSetRequest>, UpdateSizeConstraintSetRequest> {
private static final OperationInfo SDK_OPERATION_BINDING = OperationInfo.builder().protocol(Protocol.AWS_JSON).requestUri("/")
.httpMethodName(HttpMethodName.POST).hasExplicitPayloadMember(false).hasPayloadMembers(true)
.operationIdentifier("AWSWAF_Regional_20161128.UpdateSizeConstraintSet").serviceName("AWSWAFRegional").build();
private final com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory;
public UpdateSizeConstraintSetRequestProtocolMarshaller(com.amazonaws.protocol.json.SdkJsonProtocolFactory protocolFactory) {
this.protocolFactory = protocolFactory;
}
public Request<UpdateSizeConstraintSetRequest> marshall(UpdateSizeConstraintSetRequest updateSizeConstraintSetRequest) {
if (updateSizeConstraintSetRequest == null) {
throw new SdkClientException("Invalid argument passed to marshall(...)");
}
try {
final ProtocolRequestMarshaller<UpdateSizeConstraintSetRequest> protocolMarshaller = protocolFactory.createProtocolMarshaller(
SDK_OPERATION_BINDING, updateSizeConstraintSetRequest);
protocolMarshaller.startMarshalling();
UpdateSizeConstraintSetRequestMarshaller.getInstance().marshall(updateSizeConstraintSetRequest, protocolMarshaller);
return protocolMarshaller.finishMarshalling();
} catch (Exception e) {
throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
}
}
}
| [
""
] | |
106f050e492c6ec983c8448dfd0b4d1ec3d45e71 | 7984a996c085b9bd04f02e89cad3124faea809ed | /WorkClassRoom/src/work121114_RadioButton/Main.java | 5cb733e1dd3a6e318bb36d091789966fccd35087 | [] | no_license | Andrej-Kunitsin/Study | 0be58902fd08e32d6a7a4f4a203bc965e3028620 | e25317729da46a6ebcd4b9921615ff50af21a12d | refs/heads/master | 2021-01-18T12:25:23.031367 | 2015-04-09T12:24:17 | 2015-04-09T12:24:17 | 33,671,191 | 1 | 0 | null | 2015-04-09T13:43:13 | 2015-04-09T13:43:13 | null | UTF-8 | Java | false | false | 349 | java | package work121114_RadioButton;
//ну писец
public class Main
{
public static int calc(int a, int b, String op)
{
int res = 0;
if (op.equals("+"))
{
res = a + b;
}
else if (op.equals("-"))
{
res = a - b;
}
else if (op.equals("/")) {
res = a/b;
}
else if (op.equals("*")) {
res = a*b;
}
return res;
}
}
| [
"Jack_killer@mail.ru"
] | Jack_killer@mail.ru |
663f94544ff12b518598f9ad7b433cb66da064b4 | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /java/RxJava/2015/8/OperatorSkip.java | 338b7a3f9131643f2dd8b65211bad22c82871916 | [] | no_license | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | Java | false | false | 1,891 | java | /**
* Copyright 2015 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See
* the License for the specific language governing permissions and limitations under the License.
*/
package io.reactivex.internal.operators;
import org.reactivestreams.*;
import io.reactivex.Observable.Operator;
/**
*
*/
public final class OperatorSkip<T> implements Operator<T, T> {
final long n;
public OperatorSkip(long n) {
this.n = n;
}
@Override
public Subscriber<? super T> apply(Subscriber<? super T> s) {
return new SkipSubscriber<>(s, n);
}
static final class SkipSubscriber<T> implements Subscriber<T> {
final Subscriber<? super T> actual;
long remaining;
public SkipSubscriber(Subscriber<? super T> actual, long n) {
this.actual = actual;
this.remaining = n;
}
@Override
public void onSubscribe(Subscription s) {
long n = remaining;
actual.onSubscribe(s);
s.request(n);
}
@Override
public void onNext(T t) {
if (remaining != 0L) {
remaining--;
} else {
actual.onNext(t);
}
}
@Override
public void onError(Throwable t) {
actual.onError(t);
}
@Override
public void onComplete() {
actual.onComplete();
}
}
}
| [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
3b0762fc0215aac02d62e6c05f66990c800c344c | c6f2b72fc491c86a11cb59f483bc1c55e061d78e | /src/main/java/com/r573/enfili/ws/jersey/WebApplicationExceptionMapper.java | f5dce65449bc842065df721c5d7a1642b6ad0721 | [
"Apache-2.0"
] | permissive | ryanhosp/enfili | 955cb41fdc7d8810ba0ce07d0402ced680e7ad25 | 36611e84c08b65f5729fef4231d84f00ea03eb13 | refs/heads/master | 2020-12-24T08:41:20.389134 | 2015-03-25T08:22:57 | 2015-03-25T08:22:57 | 14,293,497 | 0 | 1 | null | 2016-09-02T13:52:29 | 2013-11-11T06:36:15 | Java | UTF-8 | Java | false | false | 2,001 | java | /*
* Enfili
* Project hosted at https://github.com/ryanhosp/enfili/
* Copyright 2013 Ho Siaw Ping Ryan
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.r573.enfili.ws.jersey;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.GenericEntity;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
import javax.ws.rs.ext.ExceptionMapper;
import javax.ws.rs.ext.Provider;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.r573.enfili.common.doc.json.JsonHelper;
import com.r573.enfili.common.text.StringHelper;
import com.r573.enfili.ws.data.WsError;
import com.r573.enfili.ws.data.WsResponse;
@Provider
public class WebApplicationExceptionMapper implements ExceptionMapper<WebApplicationException> {
private static final Logger log = LoggerFactory.getLogger(WebApplicationExceptionMapper.class);
@Override
public Response toResponse(WebApplicationException e) {
log.error("Exception " + e.getClass().getName() + " caught in GeneralExceptionMapper");
log.error(StringHelper.stackTraceToString(e));
if(e.getResponse() != null){
return e.getResponse();
}
else{
GenericEntity<String> entity = new GenericEntity<String>(JsonHelper.toJson(new WsResponse<WsError>(WsResponse.RESP_CODE_ERROR, new WsError(WsError.GENERAL_ERROR, "General Error")))) {
};
return Response.status(Status.OK).entity(entity).type(MediaType.APPLICATION_JSON).build();
}
}
}
| [
"ryanhosp@gmail.com"
] | ryanhosp@gmail.com |
2d9f70014f30b7ef3d744bd2c277d29c039436c5 | 581ed05281a349f22542e366a622ed201a255b23 | /helpdesk-web/src/main/java/hu/schonherz/training/helpdesk/web/rest/config/ErrorResponse.java | 04bb671fda08d98480a1ecb9eecf82f34868d5cb | [] | no_license | schonherz-java-ee-2016-q4/project-helpdesk | 142aca6bcd557312de6ff6120f85610d37e35007 | fbeccb33dce334cf48caac6747f0857bb1293134 | refs/heads/master | 2021-01-13T15:58:17.726690 | 2017-03-09T09:53:39 | 2017-03-09T09:53:39 | 79,645,622 | 5 | 2 | null | null | null | null | UTF-8 | Java | false | false | 400 | java | package hu.schonherz.training.helpdesk.web.rest.config;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ErrorResponse implements Serializable {
private static final long serialVersionUID = -820362654604115689L;
private int status;
private String exception;
}
| [
"dratech92@gmail.com"
] | dratech92@gmail.com |
2df1a75b03b2c2cdf96deba624dd96964c11c2d6 | 58983c9c14a70da3af9fe149facf33f1b054071e | /src/main/java/com/tmj/bookshop/controller/ShoppingController.java | b4d523ddade20d540c51a0c4e638956148c02df5 | [] | no_license | 2672131697/gitup01 | 462e10e959d5734f0dfca3e9b8d148eae7c41179 | e5ae81e0b1d1c1e243ccd40cdeccae15cd845ec2 | refs/heads/master | 2021-05-09T11:41:36.380984 | 2018-01-26T03:21:38 | 2018-01-26T03:21:40 | 118,995,922 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,178 | java | package com.tmj.bookshop.controller;
import com.tmj.bookshop.biz.IShoppingCarBiz;
import com.tmj.bookshop.model.ShoppingCar;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import java.util.List;
@Controller
public class ShoppingController {
@Autowired
private IShoppingCarBiz shoppingCarBiz;
@ResponseBody
@RequestMapping("/addCar")
public void addCar(Model model, ShoppingCar shoppingCar){
System.out.println(shoppingCar);
shoppingCarBiz.addCar(shoppingCar);
System.out.println("addCaraddCar");
}
@RequestMapping("/listShoppCar")
public String listShoppCar(Model model, ShoppingCar shoppingCar){
List<ShoppingCar> shoppingCarList = shoppingCarBiz.listShoppCar(shoppingCar);
System.out.println(shoppingCarList);
model.addAttribute("shoppingCarList", shoppingCarList);
return "shoppingCar";
}
}
| [
"2672131697@qq.com"
] | 2672131697@qq.com |
400e9a023c60d40e92d939a0499320deb70b60b4 | 864ef5161b44e0c63c0f28b95bb00dc5e3e85601 | /app/build/generated/not_namespaced_r_class_sources/release/processReleaseResources/r/android/support/loader/R.java | 53ae1ea86c3c32aa460f987588892150dc0dd83b | [] | no_license | likky/Baidu-TTS-Android | bac7515d240a04c2b004df309fac96f8b49c1cee | d691898d4884e6bd73e683a9dc8fe3d361b36062 | refs/heads/master | 2020-05-23T21:49:57.904652 | 2019-05-16T06:09:31 | 2019-05-16T06:09:31 | 186,962,254 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 10,453 | java | /* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* gradle plugin from the resource data it found. It
* should not be modified by hand.
*/
package android.support.loader;
public final class R {
private R() {}
public static final class attr {
private attr() {}
public static final int alpha = 0x7f020027;
public static final int font = 0x7f020073;
public static final int fontProviderAuthority = 0x7f020075;
public static final int fontProviderCerts = 0x7f020076;
public static final int fontProviderFetchStrategy = 0x7f020077;
public static final int fontProviderFetchTimeout = 0x7f020078;
public static final int fontProviderPackage = 0x7f020079;
public static final int fontProviderQuery = 0x7f02007a;
public static final int fontStyle = 0x7f02007b;
public static final int fontVariationSettings = 0x7f02007c;
public static final int fontWeight = 0x7f02007d;
public static final int ttcIndex = 0x7f020103;
}
public static final class color {
private color() {}
public static final int notification_action_color_filter = 0x7f04003c;
public static final int notification_icon_bg_color = 0x7f04003d;
public static final int ripple_material_light = 0x7f040047;
public static final int secondary_text_default_material_light = 0x7f040049;
}
public static final class dimen {
private dimen() {}
public static final int compat_button_inset_horizontal_material = 0x7f05004b;
public static final int compat_button_inset_vertical_material = 0x7f05004c;
public static final int compat_button_padding_horizontal_material = 0x7f05004d;
public static final int compat_button_padding_vertical_material = 0x7f05004e;
public static final int compat_control_corner_material = 0x7f05004f;
public static final int compat_notification_large_icon_max_height = 0x7f050050;
public static final int compat_notification_large_icon_max_width = 0x7f050051;
public static final int notification_action_icon_size = 0x7f05005b;
public static final int notification_action_text_size = 0x7f05005c;
public static final int notification_big_circle_margin = 0x7f05005d;
public static final int notification_content_margin_start = 0x7f05005e;
public static final int notification_large_icon_height = 0x7f05005f;
public static final int notification_large_icon_width = 0x7f050060;
public static final int notification_main_column_padding_top = 0x7f050061;
public static final int notification_media_narrow_margin = 0x7f050062;
public static final int notification_right_icon_size = 0x7f050063;
public static final int notification_right_side_padding_top = 0x7f050064;
public static final int notification_small_icon_background_padding = 0x7f050065;
public static final int notification_small_icon_size_as_large = 0x7f050066;
public static final int notification_subtext_size = 0x7f050067;
public static final int notification_top_pad = 0x7f050068;
public static final int notification_top_pad_large_text = 0x7f050069;
}
public static final class drawable {
private drawable() {}
public static final int notification_action_background = 0x7f060055;
public static final int notification_bg = 0x7f060056;
public static final int notification_bg_low = 0x7f060057;
public static final int notification_bg_low_normal = 0x7f060058;
public static final int notification_bg_low_pressed = 0x7f060059;
public static final int notification_bg_normal = 0x7f06005a;
public static final int notification_bg_normal_pressed = 0x7f06005b;
public static final int notification_icon_background = 0x7f06005c;
public static final int notification_template_icon_bg = 0x7f06005d;
public static final int notification_template_icon_low_bg = 0x7f06005e;
public static final int notification_tile_bg = 0x7f06005f;
public static final int notify_panel_notification_icon_bg = 0x7f060060;
}
public static final class id {
private id() {}
public static final int action_container = 0x7f07000d;
public static final int action_divider = 0x7f07000f;
public static final int action_image = 0x7f070010;
public static final int action_text = 0x7f070016;
public static final int actions = 0x7f070017;
public static final int async = 0x7f07001d;
public static final int blocking = 0x7f070020;
public static final int chronometer = 0x7f070028;
public static final int forever = 0x7f07003a;
public static final int icon = 0x7f07003f;
public static final int icon_group = 0x7f070040;
public static final int info = 0x7f070043;
public static final int italic = 0x7f070045;
public static final int line1 = 0x7f070047;
public static final int line3 = 0x7f070048;
public static final int normal = 0x7f070052;
public static final int notification_background = 0x7f070053;
public static final int notification_main_column = 0x7f070054;
public static final int notification_main_column_container = 0x7f070055;
public static final int right_icon = 0x7f07005d;
public static final int right_side = 0x7f07005e;
public static final int tag_transition_group = 0x7f070081;
public static final int tag_unhandled_key_event_manager = 0x7f070082;
public static final int tag_unhandled_key_listeners = 0x7f070083;
public static final int text = 0x7f070084;
public static final int text2 = 0x7f070085;
public static final int time = 0x7f070088;
public static final int title = 0x7f070089;
}
public static final class integer {
private integer() {}
public static final int status_bar_notification_info_maxnum = 0x7f080004;
}
public static final class layout {
private layout() {}
public static final int notification_action = 0x7f09001f;
public static final int notification_action_tombstone = 0x7f090020;
public static final int notification_template_custom_big = 0x7f090021;
public static final int notification_template_icon_group = 0x7f090022;
public static final int notification_template_part_chronometer = 0x7f090023;
public static final int notification_template_part_time = 0x7f090024;
}
public static final class string {
private string() {}
public static final int status_bar_notification_info_overflow = 0x7f0a0029;
}
public static final class style {
private style() {}
public static final int TextAppearance_Compat_Notification = 0x7f0b00ed;
public static final int TextAppearance_Compat_Notification_Info = 0x7f0b00ee;
public static final int TextAppearance_Compat_Notification_Line2 = 0x7f0b00ef;
public static final int TextAppearance_Compat_Notification_Time = 0x7f0b00f0;
public static final int TextAppearance_Compat_Notification_Title = 0x7f0b00f1;
public static final int Widget_Compat_NotificationActionContainer = 0x7f0b0159;
public static final int Widget_Compat_NotificationActionText = 0x7f0b015a;
}
public static final class styleable {
private styleable() {}
public static final int[] ColorStateListItem = { 0x10101a5, 0x101031f, 0x7f020027 };
public static final int ColorStateListItem_android_color = 0;
public static final int ColorStateListItem_android_alpha = 1;
public static final int ColorStateListItem_alpha = 2;
public static final int[] FontFamily = { 0x7f020075, 0x7f020076, 0x7f020077, 0x7f020078, 0x7f020079, 0x7f02007a };
public static final int FontFamily_fontProviderAuthority = 0;
public static final int FontFamily_fontProviderCerts = 1;
public static final int FontFamily_fontProviderFetchStrategy = 2;
public static final int FontFamily_fontProviderFetchTimeout = 3;
public static final int FontFamily_fontProviderPackage = 4;
public static final int FontFamily_fontProviderQuery = 5;
public static final int[] FontFamilyFont = { 0x1010532, 0x1010533, 0x101053f, 0x101056f, 0x1010570, 0x7f020073, 0x7f02007b, 0x7f02007c, 0x7f02007d, 0x7f020103 };
public static final int FontFamilyFont_android_font = 0;
public static final int FontFamilyFont_android_fontWeight = 1;
public static final int FontFamilyFont_android_fontStyle = 2;
public static final int FontFamilyFont_android_ttcIndex = 3;
public static final int FontFamilyFont_android_fontVariationSettings = 4;
public static final int FontFamilyFont_font = 5;
public static final int FontFamilyFont_fontStyle = 6;
public static final int FontFamilyFont_fontVariationSettings = 7;
public static final int FontFamilyFont_fontWeight = 8;
public static final int FontFamilyFont_ttcIndex = 9;
public static final int[] GradientColor = { 0x101019d, 0x101019e, 0x10101a1, 0x10101a2, 0x10101a3, 0x10101a4, 0x1010201, 0x101020b, 0x1010510, 0x1010511, 0x1010512, 0x1010513 };
public static final int GradientColor_android_startColor = 0;
public static final int GradientColor_android_endColor = 1;
public static final int GradientColor_android_type = 2;
public static final int GradientColor_android_centerX = 3;
public static final int GradientColor_android_centerY = 4;
public static final int GradientColor_android_gradientRadius = 5;
public static final int GradientColor_android_tileMode = 6;
public static final int GradientColor_android_centerColor = 7;
public static final int GradientColor_android_startX = 8;
public static final int GradientColor_android_startY = 9;
public static final int GradientColor_android_endX = 10;
public static final int GradientColor_android_endY = 11;
public static final int[] GradientColorItem = { 0x10101a5, 0x1010514 };
public static final int GradientColorItem_android_color = 0;
public static final int GradientColorItem_android_offset = 1;
}
}
| [
"664907696@qq.com"
] | 664907696@qq.com |
aee214e3358e82b361d2e6c2bdffa7ecc9c852a2 | 91000de91d31f434454dad5636228b6f5db4e3db | /GuestListFromAFile.java | b0869d9155297b461b35ca25887409a2b665169c | [] | no_license | moriahhumphries/MOOC-java | 3092dcfadfa991355bbbc308885ac70cf949e4ad | 20f6be4b9312ee7ef84e06dcbc87149fc1da2e7e | refs/heads/master | 2023-01-02T20:12:42.436939 | 2020-11-04T22:26:18 | 2020-11-04T22:26:18 | 291,781,392 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,192 | java |
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Scanner;
public class GuestListFromAFile {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println("Name of the file:");
String file = scanner.nextLine();
ArrayList<String> list = new ArrayList<>();
// implement reading the file here.
try ( Scanner fileReader = new Scanner(Paths.get(file))) {
while (fileReader.hasNextLine()) {
list.add(fileReader.nextLine());
}
} catch (Exception e) {
System.out.println("Error " + e.getMessage());
}
System.out.println("");
System.out.println("Enter names, an empty line quits.");
while (true) {
String name = scanner.nextLine();
if (name.isEmpty()) {
break;
}
if (list.contains(name)) {
System.out.println("The name is on the list.");
} else {
System.out.println("The name is not on the list.");
}
}
System.out.println("Thank you!");
}
}
| [
"noreply@github.com"
] | noreply@github.com |
9bc19c7838b7ee9765d85872b4ae29e12e8f5744 | 18606c6b3f164a935e571932b3356260b493e543 | /benchmarks/Jigsaw/src/classes/org/w3c/jigsaw/filters/GZIPFilter.java | 8a2a789f621e6abe27397b7391a721dc7b4b33fb | [
"Apache-2.0",
"Apache-1.1",
"BSD-2-Clause",
"SAX-PD",
"MIT"
] | permissive | jackyhaoli/abc | d9a3bd2d4140dd92b9f9d0814eeafa16ea7163c4 | 42071b0dcb91db28d7b7fdcffd062f567a5a1e6c | refs/heads/master | 2020-04-03T09:34:47.612136 | 2019-01-11T07:16:04 | 2019-01-11T07:16:04 | 155,169,244 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 4,857 | java | // GZIPFilter.java
// $Id: GZIPFilter.java,v 1.11 2003/01/15 12:14:42 ylafon Exp $
// (c) COPYRIGHT MIT, Keio and ERCIM, 1996, 2003
// Please first read the full copyright statement in file COPYRIGHT.html
package org.w3c.jigsaw.filters;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PipedInputStream;
import java.io.PipedOutputStream;
import java.util.zip.GZIPOutputStream;
import org.w3c.tools.resources.Attribute;
import org.w3c.tools.resources.AttributeRegistry;
import org.w3c.tools.resources.ProtocolException;
import org.w3c.tools.resources.ReplyInterface;
import org.w3c.tools.resources.RequestInterface;
import org.w3c.tools.resources.Resource;
import org.w3c.tools.resources.ResourceFilter;
import org.w3c.tools.resources.ResourceFrame;
import org.w3c.tools.resources.StringArrayAttribute;
import org.w3c.www.mime.MimeType;
import org.w3c.jigsaw.http.Reply;
import org.w3c.jigsaw.http.Request;
class GZIPDataMover extends Thread {
InputStream in = null;
OutputStream out = null;
public void run() {
try {
byte buf[] = new byte[1024];
int got = -1;
while ((got = in.read(buf)) >= 0)
out.write(buf, 0, got);
} catch (IOException ex) {
ex.printStackTrace();
} finally {
try { in.close(); } catch (Exception ex) {};
try { out.close(); } catch (Exception ex) {} ;
}
}
GZIPDataMover(InputStream in, OutputStream out) {
this.in = in;
this.out = out;
setName("GZIPDataMover");
start();
}
}
/**
* This filter will compress the content of replies using GZIP.
* Compression is done <em>on the fly</em>. This assumes that you're really
* on a slow link, where you have lots of CPU, but not much bandwidth.
* <p>NOTE that as it change the Content-Encoding of the served content,
* it MUST NOT be used on a proxy or a proxy/cache..
*/
public class GZIPFilter extends ResourceFilter {
/**
* Attribute index - List of MIME type that we can compress
*/
protected static int ATTR_MIME_TYPES = -1;
static {
Class c = null;
Attribute a = null;
try {
c = Class.forName("org.w3c.jigsaw.filters.GZIPFilter");
} catch (Exception ex) {
ex.printStackTrace();
System.exit(1);
}
// Register the MIME types attribute:
a = new StringArrayAttribute("mime-types"
, null
, Attribute.EDITABLE);
ATTR_MIME_TYPES = AttributeRegistry.registerAttribute(c, a);
}
/**
* The set of MIME types we are allowed to compress.
*/
protected MimeType types[] = null;
/**
* Catch the setting of mime types to compress.
* @param idx The attribute being set.
* @param val The new attribute value.
*/
public void setValue(int idx, Object value) {
super.setValue(idx, value);
if ( idx == ATTR_MIME_TYPES ) {
synchronized (this) {
types = null;
}
}
}
/**
* Get the set of MIME types to match:
* @return An array of MimeType instances.
*/
public synchronized MimeType[] getMimeTypes() {
if ( types == null ) {
String strtypes[] = (String[]) getValue(ATTR_MIME_TYPES, null);
if ( strtypes == null )
return null;
types = new MimeType[strtypes.length];
for (int i = 0 ; i < types.length ; i++) {
try {
types[i] = new MimeType(strtypes[i]);
} catch (Exception ex) {
types[i] = null;
}
}
}
return types;
}
/**
* @param request The original request.
* @param reply It's original reply.
* @return A Reply instance, or <strong>null</strong> if processing
* should continue normally.
* @exception ProtocolException If processing should be interrupted,
* because an abnormal situation occured.
*/
public ReplyInterface outgoingFilter(RequestInterface req,
ReplyInterface rep)
throws ProtocolException
{
Request request = (Request) req;
Reply reply = (Reply) rep;
// Anything to compress ?
if ( ! reply.hasStream() ) {
return null;
}
// if there is already a Content-Encoding, skip this
if (reply.getContentEncoding() != null) {
return null;
}
// Match possible mime types:
MimeType t[] = getMimeTypes();
boolean matched = false;
if ( t != null ) {
for (int i = 0 ; i < t.length ; i++) {
if ( t[i] == null )
continue;
if ( t[i].match(reply.getContentType()) > 0 ) {
matched = true;
break;
}
}
}
if ( ! matched )
return null;
// Compress:
try {
PipedOutputStream pout = new PipedOutputStream();
PipedInputStream pin = new PipedInputStream(pout);
new GZIPDataMover(reply.openStream()
, new GZIPOutputStream(pout));
reply.addContentEncoding("gzip");
reply.setContentLength(-1);
reply.setStream(pin);
} catch (Exception ex) {
ex.printStackTrace();
}
return null;
}
}
| [
"xiemaisi@40514614-586c-40e6-bf05-bf7e477dc3e6"
] | xiemaisi@40514614-586c-40e6-bf05-bf7e477dc3e6 |
f5d38631d44479670b019f7f52ba83c62d438a45 | f0f94d4e8404a6e1178c532057bc89d59453fe9c | /websocket-study/src/main/java/pers/cmy/WsApplication.java | 05dce47b9cdcbdca5f222a588b9b55c9609c83de | [] | no_license | Zerojump/study | a14836e36c31edd433d964c1fa4459543a727d4a | 2949af867a62e3db4cb8b1058abb503e9d13529a | refs/heads/master | 2022-10-13T16:11:26.359141 | 2019-11-20T14:56:42 | 2019-11-20T14:56:42 | 86,466,891 | 0 | 0 | null | 2022-10-12T20:15:47 | 2017-03-28T14:00:57 | Java | UTF-8 | Java | false | false | 378 | java | package pers.cmy;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* <p>@author chenmingyi
* <p>@version 1.0
* <p>date: 2017/11/27
*/
@SpringBootApplication
public class WsApplication {
public static void main(String[] args) {
SpringApplication.run(WsApplication.class, args);
}
}
| [
"3256552558.qq.com"
] | 3256552558.qq.com |
9c8fa2d0607be01848efcba88affae382f8257ea | e2680e2568ee35aafbe312ae0a889054f7632502 | /src/Homework8/Task8_4.java | d6ff82e37b1ff5b91a8643fddf0648e562211f21 | [] | no_license | war9k/JavaBasicCourse | b974c08792789daa62054960de07263959f5f96d | 3bfa9fb7357e346a39cd18453f9bc90e98822107 | refs/heads/master | 2020-07-07T15:27:29.076017 | 2019-10-12T14:00:49 | 2019-10-12T14:00:49 | 202,732,754 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,564 | java | package Homework8;
import java.util.Scanner;
public class Task8_4 {
private static int diffWords(String st) {
StringBuffer unicStr = new StringBuffer();
//unic String
String current;
//current symbol in String
for (int i = 0; i < st.length(); i++) {
current = String.valueOf(st.charAt(i));
//get current symbol
if (unicStr.indexOf(current) == -1)
unicStr.append(current);
//if symbol isn't in String - append it.
}
return unicStr.length();
//return length of unic String
}
public static void main(String[] args) {
final String spaceString = " ";
Scanner scanner = new Scanner((System.in));
System.out.println("Enter an integer.");
int numberOfLines = scanner.nextInt();
String[] linesArray = new String[numberOfLines];
System.out.println();
for (int i = 0; i < numberOfLines; i++) {
System.out.println("Enter the line number " + (i + 1));
linesArray[i] = scanner.next();
}
String goal = linesArray[0];
//word, that we're looking for
for (int i = 0; i < linesArray.length; i++) {
System.out.print(linesArray[i] + ", ");
if (diffWords(linesArray[i]) < diffWords(goal))
goal = linesArray[i];
//new min element
}
System.out.println();
System.out.println("Word: " + goal + " - number of different symbols: " + diffWords(goal));
}
}
| [
"translate86@gmail.com"
] | translate86@gmail.com |
1462be123bc3fc90ee51141fb625ae6a4c3b49f9 | 57abc8ae87ae03c202a386fba9aa0e3bb8b2f452 | /autoscale/src/main/java/com/sequenceiq/periscope/model/NameOrCrn.java | 74a76dc65733f673b6f17a64aed5db9fc7a7bf8a | [
"LicenseRef-scancode-warranty-disclaimer",
"ANTLR-PD",
"CDDL-1.0",
"bzip2-1.0.6",
"Zlib",
"BSD-3-Clause",
"MIT",
"EPL-1.0",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-jdbm-1.00",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hortonworks/cloudbreak | 11c03bb7b90b49d1d57250ee1691f2484bc686ab | cab154694f43e27e8c429b53a9400fe8cc19d07b | refs/heads/master | 2023-07-26T16:42:10.127709 | 2023-07-04T08:11:17 | 2023-07-12T10:56:54 | 19,638,422 | 199 | 211 | Apache-2.0 | 2023-09-14T20:54:32 | 2014-05-10T10:03:07 | Java | UTF-8 | Java | false | false | 2,575 | java | package com.sequenceiq.periscope.model;
import static org.apache.commons.lang3.StringUtils.isNotEmpty;
import java.util.Objects;
import org.apache.commons.lang3.StringUtils;
import com.google.common.annotations.VisibleForTesting;
public class NameOrCrn {
private static final String NAME_MUST_BE_PROVIDED_EXCEPTION_MESSAGE = "Name must be provided.";
private static final String CRN_MUST_BE_PROVIDED_EXCEPTION_MESSAGE = "Crn must be provided.";
@VisibleForTesting
final String name;
@VisibleForTesting
final String crn;
private NameOrCrn(String name, String crn) {
this.name = name;
this.crn = crn;
}
public static NameOrCrn ofName(String name) {
if (StringUtils.isEmpty(name)) {
throw new IllegalArgumentException(NAME_MUST_BE_PROVIDED_EXCEPTION_MESSAGE);
}
return new NameOrCrn(name, null);
}
public static NameOrCrn ofCrn(String crn) {
if (StringUtils.isEmpty(crn)) {
throw new IllegalArgumentException(CRN_MUST_BE_PROVIDED_EXCEPTION_MESSAGE);
}
return new NameOrCrn(null, crn);
}
public String getName() {
if (StringUtils.isEmpty(name)) {
throw new IllegalArgumentException("Request to get name when crn was provided on " + this);
}
return name;
}
public String getCrn() {
if (StringUtils.isEmpty(crn)) {
throw new IllegalArgumentException("Request to get crn when name was provided on " + this);
}
return crn;
}
public boolean hasName() {
return isNotEmpty(name);
}
public boolean hasCrn() {
return isNotEmpty(crn);
}
@Override
public String toString() {
StringBuilder toString = new StringBuilder();
toString.append("[NameOrCrn");
if (isNotEmpty(name)) {
toString.append(" of name: '");
toString.append(name);
} else {
toString.append(" of crn: '");
toString.append(crn);
}
toString.append("']");
return toString.toString();
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
NameOrCrn nameOrCrn = (NameOrCrn) o;
return Objects.equals(name, nameOrCrn.name) &&
Objects.equals(crn, nameOrCrn.crn);
}
@Override
public int hashCode() {
return Objects.hash(name, crn);
}
}
| [
"keyki.kk@gmail.com"
] | keyki.kk@gmail.com |
848c732d819640beae211a2dc5830bc27f2728fa | 14b49f1fdfa259b9c3cb4113f1b4918e826c123e | /Laboration2NoSQL/src/controller/LoginController.java | 8432c615110f0403714536f0b5770e973a130fb8 | [] | no_license | t3ss-acode/Library_with_NoSQL_database | aa7cddb9a592c41fb6fe01d7ae5755b9d7ec10a2 | 311f0b6dd1b66fa05759deb334e3f42e592b0ae2 | refs/heads/main | 2023-01-31T00:32:17.673192 | 2020-12-16T19:50:06 | 2020-12-16T19:50:06 | 322,085,307 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,091 | java | package controller;
import com.mongodb.MongoException;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import javafx.fxml.Initializable;
import javafx.scene.Scene;
import javafx.scene.control.*;
import javafx.scene.layout.Pane;
import javafx.stage.Stage;
import model.LoginModel;
import java.io.IOException;
import java.net.URL;
import java.util.ResourceBundle;
public class LoginController implements Initializable {
private LoginModel model = new LoginModel();
@FXML
private TextField usernameField;
@FXML
private PasswordField passwordField;
@FXML
private Label loginStatus;
@FXML
private Button loginButton;
public LoginController() {
}
public void login() {
try {
if (model.tryLogin(usernameField.getText(), passwordField.getText())) {
Stage stage = (Stage) this.loginButton.getScene().getWindow();
stage.close();
initUserDashboard();
} else
initLoginAlert();
} catch (MongoException ex) {
initDBConnError();
}
}
@Override
public void initialize(URL location, ResourceBundle resources) {
initLabel();
if (model.isDbConnected())
System.out.println("Connected to database");
else
System.out.println("Can't connect to database");
}
private void initLabel() {
loginStatus.setStyle("-fx-font-weight: bold;");
}
//Loads and creates the search window
private void initUserDashboard() {
try {
Stage userStage = new Stage();
//Loads the dashboard screen from SceneBuilder
FXMLLoader loader = new FXMLLoader();
//a SearchController is created with this line
Pane root = loader.load(getClass().getResource("/view/search.fxml").openStream());
Scene scene = new Scene(root);
userStage.setScene(scene);
userStage.setTitle("User Dashboard");
userStage.setResizable(false);
userStage.show();
} catch (IOException e) {
initUDWindowError();
}
}
private void initLoginAlert() {
Alert alert = new Alert(Alert.AlertType.WARNING);
alert.setTitle("Information Dialog");
alert.setHeaderText(null);
alert.setContentText("Wrong Login Credentials");
alert.showAndWait();
}
private void initUDWindowError() {
Alert alert = new Alert(Alert.AlertType.ERROR);
alert.setTitle("Information Dialog");
alert.setHeaderText(null);
alert.setContentText("User Dashboard could not open!");
alert.showAndWait();
}
private void initDBConnError() {
Alert alert = new Alert(Alert.AlertType.ERROR);
alert.setTitle("Information Dialog");
alert.setHeaderText(null);
alert.setContentText("Connection to database failed");
alert.showAndWait();
}
}
| [
"noreply@github.com"
] | noreply@github.com |
d5ce5ce3a6fc119f5f6c0d853d15a3afc20f9ce4 | 46630050e402f9a2e07aaa1a3fcdfc288f4d7abf | /src/org/zhonglin/test/framework/concurrence/condition/job/TestJob.java | a0292f2630a1464c9c2e9b86bd9425c0deec2620 | [] | no_license | xusleep/Concurrent | ab3ff817a8a52f0ded22153a106e29576f162900 | e58f1df4cc207ba15d7bb70d14c87f1c6f47d4e0 | refs/heads/master | 2020-05-25T12:13:51.411128 | 2015-01-06T13:18:02 | 2015-01-06T13:18:02 | 23,310,808 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 511 | java | package zhonglin.test.framework.concurrence.condition.job;
public class TestJob extends AbstractJob {
private int id;
public TestJob(int id){
this.id = id;
}
@Override
public void doBeforeJob() {
// TODO Auto-generated method stub
}
@Override
public void doConcurrentJob() {
// TODO Auto-generated method stub
System.out.println("I am doing some thing. the id is " + id);
}
@Override
public void doAfterJob() {
// TODO Auto-generated method stub
}
}
| [
"xusleep@gmail.com"
] | xusleep@gmail.com |
46a87d60f797da3fefb4f0ddc73083498525ea7f | 8ed9f95fd028b7d89e7276847573878e32f12674 | /docx4j-core/src/main/java/org/docx4j/org/apache/poi/hpsf/NoPropertySetStreamException.java | 71a5837917b20a66b32df0b24a64a508e31a7f53 | [
"Apache-2.0"
] | permissive | plutext/docx4j | a75b7502841a06f314cb31bbaa219b416f35d8a8 | 1f496eca1f70e07d8c112168857bee4c8e6b0514 | refs/heads/VERSION_11_4_8 | 2023-06-23T10:02:08.676214 | 2023-03-11T23:02:44 | 2023-03-11T23:02:44 | 4,302,287 | 1,826 | 1,024 | null | 2023-03-11T23:02:45 | 2012-05-11T22:13:30 | Java | UTF-8 | Java | false | false | 2,587 | java | /* NOTICE: This file has been changed by Plutext Pty Ltd for use in docx4j.
* The package name has been changed; there may also be other changes.
*
* This notice is included to meet the condition in clause 4(b) of the License.
*/
/* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==================================================================== */
package org.docx4j.org.apache.poi.hpsf;
/**
* <p>This exception is thrown if a format error in a property set stream is
* detected or when the input data do not constitute a property set stream.</p>
*
* <p>The constructors of this class are analogous to those of its superclass
* and are documented there.</p>
*
* @author Rainer Klute <a
* href="mailto:klute@rainer-klute.de"><klute@rainer-klute.de></a>
*/
public class NoPropertySetStreamException extends HPSFException
{
/**
* <p>Constructor</p>
*/
public NoPropertySetStreamException()
{
super();
}
/**
* <p>Constructor</p>
*
* @param msg The exception's message string
*/
public NoPropertySetStreamException(final String msg)
{
super(msg);
}
/**
* <p>Constructor</p>
*
* @param reason This exception's underlying reason
*/
public NoPropertySetStreamException(final Throwable reason)
{
super(reason);
}
/**
* <p>Constructor</p>
*
* @param msg The exception's message string
* @param reason This exception's underlying reason
*/
public NoPropertySetStreamException(final String msg,
final Throwable reason)
{
super(msg, reason);
}
}
| [
"jason@plutext.org"
] | jason@plutext.org |
d1e8455af3471f8379bc05502094fdae7e769ed2 | 8f94fb64fa096c486514f006e0bd8cf4a63b8374 | /app/src/main/java/com/example/mvvm_livedata/model/Project.java | 00997381da9c4236434d774611ac8d64a9eea7db | [] | no_license | Psy3ho/MVVM_LiveData_RxJava2_Dagger2 | 6c2d76728470236e0e7858b9286adf8fbc2a31ff | 8735ed18a38c32920545733e191fc532281ee787 | refs/heads/master | 2020-09-03T15:58:07.509563 | 2020-02-09T21:18:00 | 2020-02-09T21:18:00 | 219,504,142 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 3,731 | java | package com.example.mvvm_livedata.model;
import java.util.Date;
/**
* POJO class Project
* Class intended for the user project with its attributes
*
* @author Eugen Benčat
* @version 1.0
* @date 2019-2020
*/
public class Project {
/**
* a public value
* project id
*/
public long id;
/**
* a public value
* project name
*/
public String name;
/**
* a public value
* project full name
*/
public String full_name;
/**
* a public value
* project owner
*/
public User owner;
/**
* a public value
* project url in html
*/
public String html_url;
/**
* a public value
* project basic description
*/
public String description;
/**
* a public value
* project url
*/
public String url;
/**
* a public value
* the date the project was created
*/
public Date created_at;
/**
* a public value
* the date the project was updated
*/
public Date updated_at;
/**
* a public value
* the date the project was pushed on git
*/
public Date pushed_at;
/**
* a public value
* project git url
*/
public String git_url;
/**
* a public value
* project ssh url
*/
public String ssh_url;
/**
* a public value
* project url to clone repository
*/
public String clone_url;
/**
* a public value
* project svn url
*/
public String svn_url;
/**
* a public value
* project homepage
*/
public String homepage;
/**
* a public value
* stars count
*/
public int stargazers_count;
/**
* a public value
* watchers count
*/
public int watchers_count;
/**
* a public value
* the language in which the project was programmed
*/
public String language;
/**
* a public value
* project boolean value if he has ussues
*/
public boolean has_issues;
/**
* a public value
* project has downloads - boolean value
*/
public boolean has_downloads;
/**
* a public value
* project has wiki - boolean value
*/
public boolean has_wiki;
/**
* a public value
* project has pages - boolean value
*/
public boolean has_pages;
/**
* a public value
* project forks count
*/
public int forks_count;
/**
* a public value
* project issues count
*/
public int open_issues_count;
/**
* a public value
* project number of forks
*/
public int forks;
/**
* a public value
* project number of open issues
*/
public int open_issues;
/**
* a public value
* project number of watchers
*/
public int watchers;
/**
* a public value
* project default branch
*/
public String default_branch;
/**
* Empty constructor
*/
public Project() {
}
/**
* Constructor with name
*
* @param name the user name of the project owner
*/
public Project(String name) {
this.name = name;
}
/**
* Method that serves as getter of a name
* @return name
*/
public String getName() {
return name;
}
/**
* Method that serves as getter of a watchers count
* @return watchers count
*/
public String getWatchers_count() {
String a = watchers_count + " ";
return a;
}
/**
* Method that serves as getter of a project language
* @return language
*/
public String getLanguage() {
return language;
}
}
| [
"bencateugen@gmail.com"
] | bencateugen@gmail.com |
7f1c65138689b5e0fae8ef1624b0abff94749fa1 | 345b2ecf0c9c7e01dd2a323c3c145fa3d56b8eee | /src/py/edu/facitec/taller/principal/Menu.java | 639c0e89a2a0ef344b0c12f380afe33c59017813 | [] | no_license | cesar-gimenez/tallerMeknico | 420742210b3bdd0b2e0075136b9656252f69ad71 | ea1fc81cc44d2a6ecef2bb687b0169fb6664390a | refs/heads/master | 2020-06-11T11:16:00.322877 | 2016-12-06T01:08:34 | 2016-12-06T01:08:34 | 75,680,639 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,986 | java | package py.edu.facitec.taller.principal;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import py.edu.facitec.taller.secundario.FormCiudad;
import py.edu.facitec.taller.secundario.FormCliente;
import py.edu.facitec.taller.secundario.FormServicio;
import javax.swing.JMenuBar;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import javax.swing.JLabel;
import java.awt.Font;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
public class Menu extends JFrame {
private JPanel contentPane;
/**
* Launch the application.
*/
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
Menu frame = new Menu();
frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}
/**
* Create the frame.
*/
public Menu() {
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setBounds(100, 100, 450, 300);
JMenuBar menuBar = new JMenuBar();
setJMenuBar(menuBar);
JMenu mnRegistro = new JMenu("Enlaces");
menuBar.add(mnRegistro);
JMenuItem mntmNewMenuItem = new JMenuItem("Ciudad");
mntmNewMenuItem.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
verFormCiudad();
}
});
mnRegistro.add(mntmNewMenuItem);
JMenuItem mntmCliente = new JMenuItem("Cliente");
mntmCliente.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
verFormCLiente();
}
});
mnRegistro.add(mntmCliente);
JMenuItem mntmServicio = new JMenuItem("Servicio");
mntmServicio.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
verFormServicio();
}
});
mnRegistro.add(mntmServicio);
JMenuItem mntmMantenimiento = new JMenuItem("Mantenimiento");
mnRegistro.add(mntmMantenimiento);
JMenuItem mntmDetalleMantenimiento = new JMenuItem("Detalle Mantenimiento");
mnRegistro.add(mntmDetalleMantenimiento);
JMenu mnRegistro_1 = new JMenu("Registro");
menuBar.add(mnRegistro_1);
JMenu mnInformes = new JMenu("Informes");
menuBar.add(mnInformes);
JMenu mnAcerca = new JMenu("Acerca");
menuBar.add(mnAcerca);
contentPane = new JPanel();
contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
setContentPane(contentPane);
contentPane.setLayout(null);
JLabel lblNewLabel = new JLabel("TALLER MECANICO");
lblNewLabel.setFont(new Font("Impact", Font.PLAIN, 40));
lblNewLabel.setBounds(68, 68, 291, 61);
contentPane.add(lblNewLabel);
}
public void verFormCiudad(){
FormCiudad formCiudad = new FormCiudad();
formCiudad.setVisible(true);
}
public void verFormCLiente(){
FormCliente formCliente = new FormCliente();
formCliente.setVisible(true);
}
public void verFormServicio(){
FormServicio formServicio = new FormServicio();
formServicio.setVisible(true);
}
}
| [
"cesar_ximenez@hotmail.com"
] | cesar_ximenez@hotmail.com |
3e5c42c1032e2168bf9db8046adb21a103d2a7a0 | 09775091130f0ed2e5221f7e7d997fa209c1932e | /src/剑指offer/Last_Number_in_the_Circle.java | 65edfc3f994e63e1a88ae47ec3f7e91e80d198af | [] | no_license | bkrcq/--offer | 3cbfee4c9ce1e964014de8cd4c33d8b4ccdc4d89 | a285efab29cf9617a9c7cb71d2f178710bda7d1c | refs/heads/master | 2021-05-31T19:26:16.503019 | 2016-04-09T01:28:44 | 2016-04-09T01:28:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 235 | java | package 剑指offer;
public class Last_Number_in_the_Circle {
public int LastRemaining_Solution(int n, int m) {
if(n<1||m<1) return -1;
int last = 0;
for(int i=2;i<=n;i++){
last = (last+m)%i;
}
return last;
}
}
| [
"229785468@qq.com"
] | 229785468@qq.com |
200a210d743a266b0ac62c12f761f7cd82044582 | dc71811508cf39fa33273c012c76c1425898e0a5 | /08_interfaces_and_abstraction_ex/src/ex_07/MyListImpl.java | f98de1844c81818127010004bb90cd04214af539 | [] | no_license | Cvqtko/Java-OOP-2021 | acd48800112797d5d6415174e0e1985fce6e14df | eeceb7c34fb8f8c97c1e1126f8fb98baa6ef8704 | refs/heads/master | 2023-07-02T00:22:52.596257 | 2021-08-16T15:53:05 | 2021-08-16T15:53:05 | 381,700,432 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 445 | java | package ex_07;
public class MyListImpl extends Collection implements MyList {
public MyListImpl() {
super();
}
@Override
public int add(String item) {
getItems().add(item);
return 0;
}
@Override
public String remove() {
return getItems().remove(getItems().size() - 1);
}
@Override
public int getUsed() {
return getItems().size();
}
} | [
"cvqtkokirilov@gmail.com"
] | cvqtkokirilov@gmail.com |
596ef586370df30783040d17b887a4548ea4a1b0 | 5d0a6fdf13cc51dfc1fe5ea5b80099f35064cc77 | /src/scalable/MinHeap.java | 3f647e4e623d85b15f55ae1a3e41b33cdb2e74a0 | [] | no_license | xmruibi/Geeks4Geeks | 07967d7b406dc7da6511ab031bb9210d0cac6348 | 5e3e35703e280789d8068d4f4fc547d77e8e9c6b | refs/heads/master | 2021-01-06T20:43:10.959235 | 2015-08-07T14:42:26 | 2015-08-07T14:42:26 | 34,947,829 | 0 | 0 | null | 2015-07-28T18:45:50 | 2015-05-02T12:59:22 | Java | UTF-8 | Java | false | false | 1,186 | java | package scalable;
public class MinHeap {
int[] arr;
int size;
int index = 0;
public MinHeap(int size) {
this.size = size + 1;
this.arr = new int[size + 1];
}
public void insert(int val) {
while (index == size-1) {
removeLargest();
}
arr[++index] = val;
swim(index);
}
public int peekTop() {
return arr[1];
}
public int pollTop() {
int top = arr[1];
arr[1] = arr[index];
arr[index--] = 0;
sink(1);
return top;
}
private void removeLargest() {
int max = Integer.MIN_VALUE;
int maxIdx = -1;
for (int i = (int) (Math.log(index) / Math.log(2)); i <= index; i++) {
if (arr[i] > max) {
max = arr[i];
maxIdx = i;
}
}
arr[maxIdx] = arr[index];
arr[index--] = 0;
}
private void swim(int idx) {
while (idx / 2 > 0) {
int j = idx >> 1;
if (arr[j] > arr[idx])
swap(idx, j);
idx = j;
}
}
private void sink(int idx) {
while (idx * 2 <= index) {
int j = idx << 1;
if (arr[j] > arr[j + 1])
j++;
swap(idx, j);
idx = j;
}
}
private void swap(int i, int j) {
int tmp = arr[i];
arr[i] = arr[j];
arr[j] = tmp;
}
}
| [
"xmruibi@gmail.com"
] | xmruibi@gmail.com |
6a7aff6fc7391070be7dd674967adfc327c67615 | ad01d3afcadd5b163ecf8ba60ba556ea268b4827 | /deiedrp/trunk/CMS/WEB-INF/src/in/ac/dei/edrp/cms/domain/associateMOU/AssociateMOU.java | 57af398a7daa6fa8046920b528faa56c0ec85848 | [] | no_license | ynsingh/repos | 64a82c103f0033480945fcbb567b599629c4eb1b | 829ad133367014619860932c146c208e10bb71e0 | refs/heads/master | 2022-04-18T11:39:24.803073 | 2020-04-08T09:39:43 | 2020-04-08T09:39:43 | 254,699,274 | 1 | 2 | null | null | null | null | UTF-8 | Java | false | false | 1,179 | java | package in.ac.dei.edrp.cms.domain.associateMOU;
/**
* this is client side bean class for Associate MOU
*
* @version 1.0 7 MAY 2011
* @author MOHD AMIR
*/
public class AssociateMOU {
/** declaring private variables **/
private String mouId;
private String mouName;
private String universityId;
private String universityName;
private String creatorId;
/** defining getter and setter method for private variables **/
public String getMouId() {
return mouId;
}
public void setMouId(String mouId) {
this.mouId = mouId;
}
public String getMouName() {
return mouName;
}
public void setMouName(String mouName) {
this.mouName = mouName;
}
public String getUniversityId() {
return universityId;
}
public void setUniversityId(String universityId) {
this.universityId = universityId;
}
public String getUniversityName() {
return universityName;
}
public void setUniversityName(String universityName) {
this.universityName = universityName;
}
public String getCreatorId() {
return creatorId;
}
public void setCreatorId(String creatorId) {
this.creatorId = creatorId;
}
}
| [
"ynsingh@0c22728b-0eb9-4c4e-a44d-29de7e55569f"
] | ynsingh@0c22728b-0eb9-4c4e-a44d-29de7e55569f |
8ab867bbede53ef4951c53e7bcc73672fce80af6 | c79a207f5efdc03a2eecea3832b248ca8c385785 | /com.googlecode.jinahya/mhp-1.1.2/1.1/src/main/java/org/davic/net/ca/StartMMIEvent.java | 80875094fbc3cc5007db12395cf733605c08e9f8 | [] | no_license | jinahya/jinahya | 977e51ac2ad0af7b7c8bcd825ca3a576408f18b8 | 5aef255b49da46ae62fb97bffc0c51beae40b8a4 | refs/heads/master | 2023-07-26T19:08:55.170759 | 2015-12-02T07:32:18 | 2015-12-02T07:32:18 | 32,245,127 | 2 | 1 | null | 2023-07-12T19:42:46 | 2015-03-15T04:34:19 | Java | UTF-8 | Java | false | false | 779 | java | package org.davic.net.ca;
/** This event informs an application that an MMI dialogue has to be started.
*/
public class StartMMIEvent extends MMIEvent {
/** Constructor for the event
* @param mmiObject the MMI object
* @param dialogueId a unique identifier for the dialogue
* @param caModule the CAModule object representing the source of the event,
* which shall be returned by the <code>getSource</code> method.
*/
public StartMMIEvent(MMIObject mmiObject, int dialogueId, Object caModule) {
}
/** Returns a reference to the object that describes the MMI.
* @return the MMI object describing the MMI dialogue to be presented
*/
public MMIObject getMMIObject() {
return null;
}
}
| [
"onacit@e3df469a-503a-0410-a62b-eff8d5f2b914"
] | onacit@e3df469a-503a-0410-a62b-eff8d5f2b914 |
c92e6fd783fe9a9f8764ad5630e42a334c6ac508 | 6437c881f58021b6da003864181b7643686a001c | /block/CraftDispenser.java | fb4691f6bb39ce7c4503b81a06370716b9c8cc6e | [] | no_license | Akarin-project/CraftBukkitMappings | 71b5900e68e4b6ba1a8bbbec41d9829b90a3a91c | 4268a61928613fe83ceaf657d1a74d7961b5b485 | refs/heads/master | 2020-05-04T20:17:44.224560 | 2019-04-04T07:01:50 | 2019-04-04T07:01:50 | 179,431,902 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,962 | java | package org.bukkit.craftbukkit.block;
import net.minecraft.block.BlockDispenser;
import net.minecraft.util.math.BlockPos;
import net.minecraft.init.Blocks;
import net.minecraft.tileentity.TileEntityDispenser;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.block.Dispenser;
import org.bukkit.craftbukkit.CraftWorld;
import org.bukkit.craftbukkit.inventory.CraftInventory;
import org.bukkit.craftbukkit.projectiles.CraftBlockProjectileSource;
import org.bukkit.inventory.Inventory;
import org.bukkit.projectiles.BlockProjectileSource;
public class CraftDispenser extends CraftLootable<TileEntityDispenser> implements Dispenser {
public CraftDispenser(final Block block) {
super(block, TileEntityDispenser.class);
}
public CraftDispenser(final Material material, final TileEntityDispenser te) {
super(material, te);
}
@Override
public Inventory getSnapshotInventory() {
return new CraftInventory(this.getSnapshot());
}
@Override
public Inventory getInventory() {
if (!this.isPlaced()) {
return this.getSnapshotInventory();
}
return new CraftInventory(this.getTileEntity());
}
@Override
public BlockProjectileSource getBlockProjectileSource() {
Block block = getBlock();
if (block.getType() != Material.DISPENSER) {
return null;
}
return new CraftBlockProjectileSource((TileEntityDispenser) this.getTileEntityFromWorld());
}
@Override
public boolean dispense() {
Block block = getBlock();
if (block.getType() == Material.DISPENSER) {
CraftWorld world = (CraftWorld) this.getWorld();
BlockDispenser dispense = (BlockDispenser) Blocks.DISPENSER;
dispense.dispense(world.getHandle(), new BlockPos(getX(), getY(), getZ()));
return true;
} else {
return false;
}
}
}
| [
"i@omc.hk"
] | i@omc.hk |
9080b5d791ec772b7a423632804d5b49c810fee5 | 9b92490d55cf0fb68629ab3950d3ec4213d24e60 | /app/src/androidTest/java/ef/finderapp/ExampleInstrumentedTest.java | 447ce75740a5dfa0e3810d758b8b4fc72b667e1a | [] | no_license | TheEliForbes/MerchantHelper-Android | 392a94d84a4fb277d7593aa023ab943ee15d304a | 975300a63d9d8efea6c0ed6ca88dd9301a1f9287 | refs/heads/master | 2022-12-19T14:48:01.922828 | 2020-09-30T17:40:45 | 2020-09-30T17:40:45 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 708 | java | package ef.finderapp;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
assertEquals("ef.finderapp", appContext.getPackageName());
}
}
| [
"eliforbes42@gmail.com"
] | eliforbes42@gmail.com |
f66540eb09b7e02511a9495436a5d88e1b889fda | ad4b91957a91b79f4103e983788ace90e70119b6 | /core/src/com/alevel/sandbox/flow/ForLoop.java | 08a7414e04f6bef2f02da9cd76decae569b8e29c | [] | no_license | katorzhin/sandbox | 74b13eda8f6d7536a52de2a6d95e1e2aede418c3 | 3e346eeae45cd56ea27784df798d11801da076d8 | refs/heads/master | 2020-06-01T17:38:45.107885 | 2019-06-08T08:38:44 | 2019-06-08T08:38:44 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 502 | java | package com.alevel.sandbox.flow;
public class ForLoop {
public static void main(String[] args) {
System.out.println("let's count to 10");
for (int i = 1; i <= 10; i++) {
System.out.print(i + " ");
}
System.out.println();
System.out.println();
System.out.println("now, let's do something different");
for (int i = 0, j = 0; i <= 10; i++, j = i * i){
System.out.println(i + " squared = " + j);
}
}
}
| [
"miwagorbi@gmail.com"
] | miwagorbi@gmail.com |
dd27b7444d4d70e46bae84a82abe08615d72d9e2 | af75251a8437e59e8c2030037263037c1ca077ff | /src/main/java/com/epam/vol1/cw2/Main.java | 6d08e7f7ce0f568db3f280741c8038ea0f264dd5 | [] | no_license | FilimonovaM/EJC08 | f9c7eca8f8750677dcc752f4b4a797c07bf3bc83 | e63cb46e05902e171fef633bea25f6883a767afd | refs/heads/master | 2021-09-03T14:21:36.051194 | 2018-01-09T19:14:29 | 2018-01-09T19:14:29 | 106,310,436 | 0 | 1 | null | 2017-12-10T21:40:51 | 2017-10-09T16:55:10 | Java | UTF-8 | Java | false | false | 693 | java | package com.epam.vol1.cw2;
import java.util.HashSet;
import java.util.Set;
public class Main {
public static void main(String[] args) {
Main main = new Main();
main.callTheCat();
}
private void callTheCat() {
Set<Cat> catSet = new HashSet<>();
Cat barsic = new KittyCat("Barsik");
Cat potap = new KittyCat("Potap");
Cat shura = new KittyCat("Shura");
catSet.add(barsic);
catSet.add(potap);
catSet.add(shura);
potap = shura;
catSet.forEach(cat -> System.out.println("Object Cat : " + cat.getName()));
potap.setName("Shura 2.0");
catSet.forEach(System.out::println);
}
}
| [
"FilimonovaMargarita@mail.ru"
] | FilimonovaMargarita@mail.ru |
d890079bd3edd43baa6d664341f8deeee5cf4c16 | cb8cd04349946a7f8aff2bbd0893fc8f8b183d11 | /src/main/java/com/codegym/demosellphone/storage/StorageProperties.java | 65b98aae8a5ba18f810d4f255c1d9fc617aa0f9c | [] | no_license | TruongNX3/gio-hang | 9570ec79599f746ccfdc80b57358be103cb1cbfb | 9cf184c3de6069d067dac9aeeba0415166159cda | refs/heads/master | 2020-04-13T10:42:23.494565 | 2018-12-27T04:07:08 | 2018-12-27T04:07:08 | 163,150,138 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 446 | java | package com.codegym.demosellphone.storage;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties("storage")
public class StorageProperties {
/**
* Folder location for storing files
*/
private String location = "D:/image";
public String getLocation() {
return location;
}
public void setLocation(String location) {
this.location = location;
}
} | [
"nguyenxuantruong96.hust@gmail.com"
] | nguyenxuantruong96.hust@gmail.com |
895ad81d000f3ab4911eeeb50182bd00e090d184 | 04940df637e7a6bc60bc60f8accfe3582c837283 | /temp-test/src/test/java/com/example/demo/util/ftp/FtpUtilTest.java | 5aa1c2d3555203ced0907aada6d7ef5f61ef1670 | [] | no_license | guoshuai0403/boot | 8e55d26ccdcc837d673954650beb9c649e9496f5 | 674ea23d3af5b80392c3fdb206d8dcd96d08f8b0 | refs/heads/master | 2020-03-26T10:45:23.161907 | 2018-08-29T14:38:35 | 2018-08-29T14:38:35 | 144,814,019 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,294 | java | package com.example.demo.util.ftp;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import static org.junit.Assert.*;
/**
* description:
*
* @auth guoshuai
* @since 2018/8/14
*/
@RunWith(SpringRunner.class)
@SpringBootTest
public class FtpUtilTest {
@Test
public void uploadFile() throws Exception {
File file = new File("C:/Users/40805/Desktop/TIM图片20180727175133.png");
InputStream inputStream = new FileInputStream(file);
for (int i = 0; i < 3; i++) {
int aa = i;
new Thread(
new Runnable() {
@Override
public void run() {
try {
String filepath = "/" + aa;
FtpUtil.uploadFile("/media/file", filepath, "asdf.png", inputStream);
} catch (Exception e) {
e.printStackTrace();
}
}
}
).start();
}
}
} | [
"408054342@qq.com"
] | 408054342@qq.com |
72f04deeecff6ffe3b1642f013198a2b22c47178 | e1e5bd6b116e71a60040ec1e1642289217d527b0 | /H5/L2jSunrise_com/L2jSunrise_com_2019_09_16/L2J_SunriseProject_Core/java/l2r/gameserver/model/clientstrings/BuilderText.java | 24c28dea208433284c8b5d668e2d5cc46cf1f7bd | [] | no_license | serk123/L2jOpenSource | 6d6e1988a421763a9467bba0e4ac1fe3796b34b3 | 603e784e5f58f7fd07b01f6282218e8492f7090b | refs/heads/master | 2023-03-18T01:51:23.867273 | 2020-04-23T10:44:41 | 2020-04-23T10:44:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,300 | java | /*
* Copyright (C) 2004-2015 L2J Server
*
* This file is part of L2J Server.
*
* L2J Server is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* L2J Server is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package l2r.gameserver.model.clientstrings;
/**
* @author Forsaiken
*/
final class BuilderText extends Builder
{
private final String _text;
BuilderText(final String text)
{
_text = text;
}
@Override
public final String toString(final Object param)
{
return toString();
}
@Override
public final String toString(final Object... params)
{
return toString();
}
@Override
public final int getIndex()
{
return -1;
}
@Override
public final String toString()
{
return _text;
}
} | [
"64197706+L2jOpenSource@users.noreply.github.com"
] | 64197706+L2jOpenSource@users.noreply.github.com |
e65b5807b0f003b317ca9dd2f3e896114571e2f1 | cd60212b3dde877660d48f9f7a06cd63e28cd8cf | /app/src/main/java/com/toidv/task/ui/home/AddTaskFragmentMvpView.java | f4f87d3c051345dcf4667faf4728552985dc564c | [] | no_license | toidv/android-best-practice | f20817ee1e2904b856130efa12c4d1c31904e6d0 | 416e29fced820c3208b7553bbe5b735020e21bd2 | refs/heads/master | 2021-06-10T12:43:22.871207 | 2016-11-03T17:45:03 | 2016-11-03T17:45:03 | 72,702,536 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 225 | java | package com.toidv.task.ui.home;
import com.toidv.task.ui.base.MvpView;
/**
* Created by TOIDV on 11/3/2016.
*/
public interface AddTaskFragmentMvpView extends MvpView {
void showError();
void showTaskList();
}
| [
"duongvantoi@gmail.com"
] | duongvantoi@gmail.com |
369505837aead4bf8f28b43c337497440d45d4ca | 07e6e68ab029944b282b5cd8870b5ef780fffee2 | /src/main/java/HashingFunction.java | 4b12ad4569b862ac88e26b2b66dbc5674dcf9585 | [] | no_license | bierik/bloom-filter | bcb6957f3f164defa5d07ca2e4278e68cc2b0b80 | 22fbf9427e60733211b2b603cfade06271e51aa7 | refs/heads/master | 2020-04-08T12:20:24.483612 | 2018-11-27T22:14:02 | 2018-11-27T22:14:02 | 159,343,251 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 766 | java | import com.google.common.hash.HashFunction;
import com.google.common.hash.Hashing;
import java.nio.charset.Charset;
public class HashingFunction {
private int seed;
private HashFunction hashFunction;
public HashingFunction(int seed) {
this.seed = seed;
this.hashFunction = Hashing.murmur3_128(this.seed);
}
/**
* Calculates an index using the murmur3_128 hashing function.
* @param word Word to calculate the hash from.
* @param m Size of bitarray of the bloom filter.
* @return Number between zero (including) and size of bitarray (excluding)
*/
public int calcIndex(String word, int m) {
return Math.abs(this.hashFunction.hashString(word, Charset.defaultCharset()).asInt()) % m;
}
}
| [
"bierike@gmail.com"
] | bierike@gmail.com |
defbb62c581e771090c22e2c6a4e4e8ef08b987f | 15c26d0df045f969abdb527051c14d7f4cd19f1f | /eventdispatchdemo/src/main/java/com/example/eventdispatchdemo/view/MyView.java | de7e98c0ca6a37c2b443a8f194d51994771ace31 | [] | no_license | echowaney/zhbj | 94f1720a0634fa0b2d91eedfd086faeae62847ac | 4063979c037b016076eef17a2d9f82d47d7ebfb5 | refs/heads/master | 2021-01-11T16:34:23.712356 | 2017-01-27T01:38:17 | 2017-01-27T01:38:17 | 80,111,731 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,159 | java | package com.example.eventdispatchdemo.view;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.os.Build;
import android.support.annotation.RequiresApi;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent;
import android.view.View;
/**
* Created by HashWaney on 2017/1/26.
*/
public class MyView
extends View
{
private Paint mPaint;
public MyView(Context context) {
this(context,null);
}
public MyView(Context context, AttributeSet attrs) {
super(context, attrs);
mPaint =new Paint();
mPaint.setAntiAlias(true);
mPaint.setColor(Color.RED);
mPaint.setTextSize(20);
}
public MyView(Context context, AttributeSet attrs, int defStyleAttr) {
this(context, attrs);
}
@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
public MyView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
super(context, attrs, defStyleAttr, defStyleRes);
}
@Override
protected void onDraw(Canvas canvas) {
super.onDraw(canvas);
canvas.drawText("事件传递",150,500,mPaint);
}
@Override
public boolean dispatchTouchEvent(MotionEvent event) {
Log.d("MainActivity", " MyView dispatchTouchEvent: ");
return super.dispatchTouchEvent(event);
}
@Override
public boolean onTouchEvent(MotionEvent event) {
Log.d("MainActivity", " MyView onTouchEvent: ");
getParent().requestDisallowInterceptTouchEvent(true);
switch (event.getAction()) {
case MotionEvent.ACTION_DOWN:
Log.d("MainActivity", "MyView 按下: ");
break;
case MotionEvent.ACTION_MOVE:
Log.d("MainActivity", "MyView 移动: ");
break;
case MotionEvent.ACTION_UP:
Log.d("MainActivity", "MyView 弹起: ");
break;
}
// return super.onTouchEvent(event);
return true;
}
}
| [
"1194165366@example.com"
] | 1194165366@example.com |
8632a3cb6b136a658cee63ba11cfa714f9ec3733 | d9108a3e3fa4beb6c2370d31170b692ec3403b77 | /src/main/java/com/choice/cloud/architect/groot/config/PageHelperConfiguration.java | 0330ef92d70d9355ac4ccd813256efbfd8c9ae2f | [
"Apache-2.0"
] | permissive | yuandajn578/groot | d595a0210f11532f022ce16b133a6e04b414f937 | 592dd7b77dee3d97cc075de17c76eeb260047c2b | refs/heads/master | 2023-08-31T12:40:54.915037 | 2021-10-27T09:06:21 | 2021-10-27T09:06:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 785 | java | package com.choice.cloud.architect.groot.config;
import com.github.pagehelper.PageHelper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import java.util.Properties;
@Configuration
public class PageHelperConfiguration {
@Bean
public PageHelper pageHelper() {
PageHelper pageHelper = new PageHelper();
Properties p = new Properties();
p.setProperty("offsetAsPageNum", "true");
p.setProperty("rowBoundsWithCount", "true");
p.setProperty("reasonable", "true");
//通过设置pageSize=0或者RowBounds.limit = 0就会查询出全部的结果。
p.setProperty("pageSizeZero", "true");
pageHelper.setProperties(p);
return pageHelper;
}
}
| [
"12173670@qq.com"
] | 12173670@qq.com |
6c47a1d794d05d2b3a4b8b00f9e6752fc128a226 | 9ce1df26ab7b253d2c92d4fc38ec8748e4fd212f | /app/src/main/java/com/example/kth_lap/nfc_db_v44/Photo_Act.java | 4afd806c49d360d883ffe4a09f0ed30f9081d881 | [] | no_license | cola9k/NFC_Box_Development | 74a0e182d785b29e157283f177e6890407568bed | f8e39b481eb28a7ce0c5728b9f31596d055205d3 | refs/heads/master | 2021-01-11T16:53:40.665736 | 2017-01-23T02:03:46 | 2017-01-23T02:03:46 | 79,692,997 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 440 | java | package com.example.kth_lap.nfc_db_v44;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
/**
* Created by KTH_LAP on 2017-01-22.
*/
public class Photo_Act extends AppCompatActivity {
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.photo_activity);
}
}
| [
"cola9k@naver.com"
] | cola9k@naver.com |
9e7fe6222defaaa7c3b6367a0a13fa84392ffd2a | 8b6196a9feca31063181d253a22fcff546c1c67b | /src/test/java/com/hrms/pages/AdminPage.java | 1f30b03515e96922a260374b5cc43814286f39e3 | [] | no_license | Eugene753/MyRepo | dd1d79d1cd471063a6da5d6b70de4da589883f30 | 5323677ce75c26847a8ae45f094b92fb4d8b5247 | refs/heads/main | 2023-06-21T18:23:58.111302 | 2021-06-10T01:25:44 | 2021-06-10T01:25:44 | 375,527,451 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 478 | java | package com.hrms.pages;
import com.hrms.utils.CommonMethods;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;
public class AdminPage extends CommonMethods {
@FindBy(id = "menu_admin_viewJobTitleList")
public WebElement jobTitlesButton;
@FindBy(id = "menu_admin_Job")
public WebElement jobButton;
public AdminPage(){
PageFactory.initElements(driver,this);
}
}
| [
"Imarkadanov@gmail.com"
] | Imarkadanov@gmail.com |
7451497f4edf0429e87222e0a2cec4b17f3ad6f5 | 31d692498779e76c4cd16721b2cc32043c1edad6 | /src/main/java/kr/or/ddit/user/service/UserService.java | d1d3f9f43ba8d82585a20d0c93626079569fc6a5 | [] | no_license | siyeon13/spring | 8335ea8fbb4091f52d5bfec7bbaa80f2ec538f9e | 6f4a0310aee682d3b3d313a86010260e8d4c0199 | refs/heads/master | 2023-03-03T12:17:19.922710 | 2021-02-08T01:03:31 | 2021-02-08T01:03:31 | 334,006,443 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 616 | java | package kr.or.ddit.user.service;
import java.util.List;
import java.util.Map;
import kr.or.ddit.common.model.PageVo;
import kr.or.ddit.user.model.UserVo;
public interface UserService {
UserVo selectUser(String userid);
List<UserVo> selectAllUser();
// 페이징처리 조회
Map<String, Object> selectPagingUser(PageVo pagevo);
// List<UserVo> selectPagingUser(PageVo pagevo);
// 사용자 정보 수정
// (update -> 수정된 행의 건수를 받는다)
int modifyUser(UserVo userVo);
// 사용자 추가
int insertUser(UserVo userVo);
// 사용자 삭제
int deleteUser(String userid);
}
| [
"hyaii7369@naver.com"
] | hyaii7369@naver.com |
f19c83cb634d6d94693d8fd9dbe475074ecc4fff | 103a868a3fd8cafb39735a874580ac2ebf221d46 | /rest/src/main/java/de/adorsys/multibanking/auth/UserContextCache.java | 4638e0bfb32bdeec21777c31f6ad28a8ffffff1b | [] | no_license | adorsys/multibanking-docusafe | d5405f8bf7071a2e4d3bcebe45cd623af205562c | e05022ff9d216eeed238a97575a86f8d157c80bc | refs/heads/master | 2020-04-10T22:02:08.489288 | 2018-12-20T10:03:55 | 2018-12-20T10:03:55 | 161,313,309 | 1 | 0 | null | 2018-12-17T16:11:36 | 2018-12-11T09:58:11 | Java | UTF-8 | Java | false | false | 4,519 | java | package de.adorsys.multibanking.auth;
import java.lang.reflect.Type;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Optional;
import java.util.Set;
import org.adorsys.docusafe.business.types.complex.DocumentDirectoryFQN;
import org.adorsys.docusafe.business.types.complex.DocumentFQN;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.fasterxml.jackson.core.type.TypeReference;
/**
* Java class to store contextual information associated with the user.
*
* @author fpo
*
*/
public class UserContextCache {
private final static Logger LOGGER = LoggerFactory.getLogger(UserContextCache.class);
private UserContext userContext;
public UserContextCache(UserContext userContext) {
this.userContext = userContext;
}
/**
* Check for the existence of an entry in the cache. Return empty if object not
* object not in cache.
*
* @param documentFQN
* @param valueType
* @return
*/
public <T> Optional<CacheEntry<T>> cacheHit(DocumentFQN documentFQN, TypeReference<T> valueType){
if(!userContext.isCacheEnabled()) return Optional.empty();
Map<DocumentFQN, CacheEntry<?>> typeCache = typeCache(valueType);
@SuppressWarnings("unchecked")
CacheEntry<T> cacheEntry = (CacheEntry<T>) typeCache.get(documentFQN);
return Optional.ofNullable(cacheEntry);
}
/**
* Checks if a document is in the cache.
*
* @param documentFQN
* @param valueType
* @return
*/
public <T> boolean isCached(DocumentFQN documentFQN, TypeReference<T> valueType){
return entry(documentFQN, valueType).isPresent();
}
public <T> boolean isDirty(DocumentFQN documentFQN, TypeReference<T> cachedobjecttyperef) {
Optional<CacheEntry<T>> entry = entry(documentFQN, cachedobjecttyperef);
if(entry.isPresent()) return entry.get().isDirty();
return false;
}
private <T> Optional<CacheEntry<T>> entry(DocumentFQN documentFQN, TypeReference<T> valueType){
if(!userContext.isCacheEnabled() || valueType==null) return Optional.empty();
Map<DocumentFQN, CacheEntry<?>> typeCache = typeCache(valueType);
return Optional.ofNullable((CacheEntry<T>) typeCache.get(documentFQN));
}
public <T> Optional<CacheEntry<T>> remove(DocumentFQN documentFQN, TypeReference<T> valueType){
if(!userContext.isCacheEnabled() || valueType==null) return Optional.empty();
Map<DocumentFQN, CacheEntry<?>> typeCache = typeCache(valueType);
if(typeCache.containsKey(documentFQN)){
return Optional.ofNullable((CacheEntry<T>)typeCache.remove(documentFQN));
}
return Optional.empty();
}
/**
* @param documentFQN
* @param valueType
* @param entry
* @return true if cached. false is caching not supported.
*/
public <T> boolean cacheHit(DocumentFQN documentFQN, TypeReference<T> valueType, Optional<T> entry, boolean dirty){
if(!userContext.isCacheEnabled()) return false;
Map<DocumentFQN, CacheEntry<?>> typeCache = typeCache(valueType);
CacheEntry<T> cacheEntry = new CacheEntry<>();
cacheEntry.setDocFqn(documentFQN);
cacheEntry.setEntry(entry);
cacheEntry.setValueType(valueType);
cacheEntry.setDirty(dirty);
typeCache.put(documentFQN, cacheEntry);
return true;
}
private <T> Map<DocumentFQN, CacheEntry<?>> typeCache(TypeReference<T> valueType) {
Map<DocumentFQN, CacheEntry<?>> map = userContext.getCache().get(valueType.getType());
if(map==null){
map=new HashMap<>();
userContext.getCache().put(valueType.getType(), map);
}
return map;
}
public void clearCached(DocumentDirectoryFQN dir) {
LOGGER.debug("Clearing cache for " + dir);
Map<Type, Map<DocumentFQN, CacheEntry<?>>> cache = userContext.getCache();
Collection<Map<DocumentFQN,CacheEntry<?>>> values = cache.values();
String path = dir.getValue();
for (Map<DocumentFQN, CacheEntry<?>> map : values) {
Set<Entry<DocumentFQN,CacheEntry<?>>> entrySet = map.entrySet();
Set<DocumentFQN> keyToRemove = new HashSet<>();
for (Entry<DocumentFQN, CacheEntry<?>> entry : entrySet) {
DocumentFQN documentFQN = entry.getKey();
if(StringUtils.startsWith(documentFQN.getValue(), path)){
if(entry.getValue()==null || !entry.getValue().isDirty())
keyToRemove.add(documentFQN);
}
}
for (DocumentFQN documentFQN : keyToRemove) {
LOGGER.debug("Removing from cache Cache " + documentFQN);
map.remove(documentFQN);
}
}
}
}
| [
"fpo@adorsys.com"
] | fpo@adorsys.com |
2712a03a0d1cd800eea7bff94284cc7cfac4f1ba | 28824b3fa28d608954cd6d92873f5c875eba88d0 | /app/src/androidTest/java/com/example/luis/tassel/ExampleInstrumentedTest.java | a33fc137d33d3578b971bb9d1578316ca40df2e0 | [] | no_license | luistorm/Tassel | 0b74efb41145ca486f0bb1fb230a1c46f8e69793 | ce89cabb054c3d2eb8a7af74a6566b041440de3f | refs/heads/master | 2020-06-24T13:59:52.216723 | 2017-07-24T22:01:18 | 2017-07-24T22:01:18 | 96,939,499 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 750 | java | package com.example.luis.tassel;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() throws Exception {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();
assertEquals("com.example.luis.tassel", appContext.getPackageName());
}
}
| [
"luistorresm0905@gmail.com"
] | luistorresm0905@gmail.com |
ac93156089b84fffee9b10f7605cedb8b827c8ed | 935c7c257e3abc4e26634ceafa1b3f915e143db6 | /app/src/test/java/vn/enclave/gesturelistener/ExampleUnitTest.java | 85d4e9750572d0fa04afebe7cb461ab09111f997 | [] | no_license | danisluis6/GestureListener | cdba5d340732ef4333110597789761b7c27592d1 | 36f2325a406f1883a8395ec0e25607e0aae2e3f1 | refs/heads/master | 2021-01-15T18:22:19.411105 | 2017-08-09T09:41:06 | 2017-08-09T09:41:06 | 99,781,306 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 404 | java | package vn.enclave.gesturelistener;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
} | [
"lorence@enclave.vn"
] | lorence@enclave.vn |
54887c73729bc3470601030c6053afb784b0cded | 08a889f19a9f648a79c9953e0d8bf4a598dc88b8 | /src/main/java/com/springboot/EAPSCO/entity/product/Generator.java | f5112d8ab09d7dc4831aa1609cecce83aeaf9982 | [] | no_license | talhabayburtlu/EAPSCO-Web-Application | f9aba10d79fe490f9c7873aa97625edd86ad77e5 | 9ecbd8cbc461f395e903ef585fe8fa8b721c75bb | refs/heads/master | 2023-03-21T09:18:14.033615 | 2021-03-19T13:41:28 | 2021-03-19T13:41:28 | 328,009,974 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 581 | java | package com.springboot.EAPSCO.entity.product;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
@Getter
@Setter
@Entity
@Table(name = "Generator")
@NoArgsConstructor
@AllArgsConstructor
public class Generator extends Product {
@Column(name = "power")
private short power;
@Column(name = "dimensions")
private String dimensions;
@Column(name = "fuel_capacity")
private double fuelCapacity;
}
| [
"talha_bayburtlu2@hotmail.com"
] | talha_bayburtlu2@hotmail.com |
d1a7faf1b57f6086ee1724651550df30bf6567cc | b2efc9982fbcf2b09909d7103c9c84fe93ac5485 | /app/src/main/java/net/imglib2/algorithm/neighborhood/DiamondNeighborhood.java | b309e8b5d67aeb750111bd6b3d0c5c2ea4591340 | [] | no_license | tf0054/imglib2-android-neighborhood | 1c5d10ed58015faf66358bc36fc45497916f5726 | fd694fe7a99e041b268a242211ac7317e61ae7fe | refs/heads/master | 2021-01-24T06:49:15.440579 | 2017-06-04T16:15:25 | 2017-06-04T16:17:39 | 93,324,985 | 1 | 1 | null | null | null | null | UTF-8 | Java | false | false | 9,183 | java | /*
* #%L
* ImgLib2: a general-purpose, multidimensional image processing library.
* %%
* Copyright (C) 2009 - 2016 Tobias Pietzsch, Stephan Preibisch, Stephan Saalfeld,
* John Bogovic, Albert Cardona, Barry DeZonia, Christian Dietz, Jan Funke,
* Aivar Grislis, Jonathan Hale, Grant Harris, Stefan Helfrich, Mark Hiner,
* Martin Horn, Steffen Jaensch, Lee Kamentsky, Larry Lindsey, Melissa Linkert,
* Mark Longair, Brian Northan, Nick Perry, Curtis Rueden, Johannes Schindelin,
* Jean-Yves Tinevez and Michael Zinsmaier.
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
* #L%
*/
package net.imglib2.algorithm.neighborhood;
import java.util.Iterator;
import net.imglib2.AbstractEuclideanSpace;
import net.imglib2.AbstractLocalizable;
import net.imglib2.Cursor;
import net.imglib2.FinalInterval;
import net.imglib2.Interval;
import net.imglib2.Positionable;
import net.imglib2.RandomAccess;
import net.imglib2.RealPositionable;
public class DiamondNeighborhood< T > extends AbstractLocalizable implements Neighborhood< T >
{
public static < T > DiamondNeighborhoodFactory< T > factory()
{
return new DiamondNeighborhoodFactory< T >()
{
@Override
public Neighborhood< T > create( final long[] position, final long radius, final RandomAccess< T > sourceRandomAccess )
{
return new DiamondNeighborhood< T >( position, radius, sourceRandomAccess );
}
};
}
private final RandomAccess< T > sourceRandomAccess;
private final long radius;
private final int maxDim;
// private final long size;
private final FinalInterval structuringElementBoundingBox;
DiamondNeighborhood( final long[] position, final long radius, final RandomAccess< T > sourceRandomAccess )
{
super( position );
this.sourceRandomAccess = sourceRandomAccess;
this.radius = radius;
maxDim = n - 1;
// size = computeSize();
final long[] min = new long[ n ];
final long[] max = new long[ n ];
for ( int d = 0; d < n; d++ )
{
min[ d ] = -radius;
max[ d ] = radius;
}
structuringElementBoundingBox = new FinalInterval( min, max );
}
public class LocalCursor extends AbstractEuclideanSpace implements Cursor< T >
{
protected final RandomAccess< T > source;
/** The current radius in each dimension we are at. */
protected final long[] ri;
/** The remaining number of steps in each dimension we still have to go. */
protected final long[] s;
public LocalCursor( final RandomAccess< T > source )
{
super( source.numDimensions() );
this.source = source;
ri = new long[ n ];
s = new long[ n ];
reset();
}
protected LocalCursor( final LocalCursor c )
{
super( c.numDimensions() );
source = c.source.copyRandomAccess();
ri = c.ri.clone();
s = c.s.clone();
}
@Override
public T get()
{
return source.get();
}
@Override
public void fwd()
{
if ( --s[ 0 ] >= 0 )
{
source.fwd( 0 );
}
else
{
int d = 1;
for ( ; d < n; ++d )
{
if ( --s[ d ] >= 0 )
{
source.fwd( d );
break;
}
}
for ( ; d > 0; --d )
{
final int e = d - 1;
final long pd = Math.abs( s[ d ] - ri[ d ] );
final long rad = ri[ d ] - pd;
ri[ e ] = rad;
s[ e ] = 2 * rad;
source.setPosition( position[ e ] - rad, e );
}
}
}
@Override
public void jumpFwd( final long steps )
{
for ( long i = 0; i < steps; ++i )
{
fwd();
}
}
@Override
public T next()
{
fwd();
return get();
}
@Override
public void remove()
{
// NB: no action.
}
@Override
public void reset()
{
for ( int d = 0; d < maxDim; ++d )
{
ri[ d ] = s[ d ] = 0;
source.setPosition( position[ d ], d );
}
source.setPosition( position[ maxDim ] - radius - 1, maxDim );
ri[ maxDim ] = radius;
s[ maxDim ] = 1 + 2 * radius;
}
@Override
public boolean hasNext()
{
return s[ maxDim ] > 0;
}
@Override
public float getFloatPosition( final int d )
{
return source.getFloatPosition( d );
}
@Override
public double getDoublePosition( final int d )
{
return source.getDoublePosition( d );
}
@Override
public int getIntPosition( final int d )
{
return source.getIntPosition( d );
}
@Override
public long getLongPosition( final int d )
{
return source.getLongPosition( d );
}
@Override
public void localize( final long[] position )
{
source.localize( position );
}
@Override
public void localize( final float[] position )
{
source.localize( position );
}
@Override
public void localize( final double[] position )
{
source.localize( position );
}
@Override
public void localize( final int[] position )
{
source.localize( position );
}
@Override
public LocalCursor copy()
{
return new LocalCursor( this );
}
@Override
public LocalCursor copyCursor()
{
return copy();
}
}
@Override
public Interval getStructuringElementBoundingBox()
{
return structuringElementBoundingBox;
}
@Override
public long size()
{
if ( n < 1 )
{
return 1;
}
else if ( n < 2 )
{
return 2 * radius + 1;
}
else if ( n < 3 )
{
return radius * radius + ( radius + 1 ) * ( radius + 1 );
}
else
{
return diamondSize( radius, n );
}
}
private final static long diamondSize( final long rad, final int dim )
{
if ( dim == 2 )
{
return rad * rad + ( rad + 1 ) * ( rad + 1 );
}
else
{
long size = 0;
for ( int r = 0; r < rad; r++ )
{
size += 2 * diamondSize( r, dim - 1 );
}
size += diamondSize( rad, dim - 1 );
return size;
}
}
@Override
public T firstElement()
{
return cursor().next();
}
@Override
public Object iterationOrder()
{
return this; // iteration order is only compatible with ourselves
}
@Override
public double realMin( final int d )
{
return position[ d ] - radius;
}
@Override
public void realMin( final double[] min )
{
for ( int d = 0; d < min.length; d++ )
{
min[ d ] = position[ d ] - radius;
}
}
@Override
public void realMin( final RealPositionable min )
{
for ( int d = 0; d < min.numDimensions(); d++ )
{
min.setPosition( position[ d ] - radius, d );
}
}
@Override
public double realMax( final int d )
{
return position[ d ] + radius;
}
@Override
public void realMax( final double[] max )
{
for ( int d = 0; d < max.length; d++ )
{
max[ d ] = position[ d ] + radius;
}
}
@Override
public void realMax( final RealPositionable max )
{
for ( int d = 0; d < max.numDimensions(); d++ )
{
max.setPosition( position[ d ] + radius, d );
}
}
@Override
public Iterator< T > iterator()
{
return cursor();
}
@Override
public long min( final int d )
{
return position[ d ] - radius;
}
@Override
public void min( final long[] min )
{
for ( int d = 0; d < min.length; d++ )
{
min[ d ] = position[ d ] - radius;
}
}
@Override
public void min( final Positionable min )
{
for ( int d = 0; d < min.numDimensions(); d++ )
{
min.setPosition( position[ d ] - radius, d );
}
}
@Override
public long max( final int d )
{
return position[ d ] + radius;
}
@Override
public void max( final long[] max )
{
for ( int d = 0; d < max.length; d++ )
{
max[ d ] = position[ d ] + radius;
}
}
@Override
public void max( final Positionable max )
{
for ( int d = 0; d < max.numDimensions(); d++ )
{
max.setPosition( position[ d ] + radius, d );
}
}
@Override
public void dimensions( final long[] dimensions )
{
for ( int d = 0; d < dimensions.length; d++ )
{
dimensions[ d ] = ( 2 * radius ) + 1;
}
}
@Override
public long dimension( final int d )
{
return ( 2 * radius ) + 1;
}
@Override
public LocalCursor cursor()
{
return new LocalCursor( sourceRandomAccess.copyRandomAccess() );
}
@Override
public LocalCursor localizingCursor()
{
return cursor();
}
}
| [
"tf0054@gmail.com"
] | tf0054@gmail.com |
c911174e28ef0641e40be8dd411b01242a6d496d | 5f8c7f3ce238587616b715ca0ca3843509dbdcb0 | /src/programmingWithClasses/aggregationAndComposition/state/State.java | 3b81e48d6906b69555ae2a23a7c459daf5c3b34d | [] | no_license | Skripkovich/JavaTaskEpam | e9a413b3d345b5311f8f21b2faaed884a1279113 | 7b2adae5c50108aa3863d9b31d908858b9f5072d | refs/heads/master | 2020-07-16T22:37:42.443202 | 2019-09-02T15:18:56 | 2019-09-02T15:18:56 | 205,883,132 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,533 | java | package programmingWithClasses.aggregationAndComposition.state;
/**
* Создать объект класса Государство, используя классы Область, Район, Город. Методы: вывести на консоль
* столицу, количество областей, площадь, областные центры.
*/
public class State {
public static void main (String [] args) {
StateClass stateClass = new StateClass();
stateClass.add(new City("Минск", new Region("Минская", 12.54),
new District("Минский"), "Минск", "Минск"));
stateClass.add(new City("Брест", new Region("Бресткая", 15.47),
new District("Бресткий"), "Минск", "Брест"));
stateClass.add(new City("Барановичи", new Region("Барановичская", 15.47),
new District("Бресткий"), "Минск", "Брест"));
//Выводим сталицу
System.out.println("Выводим сталицу на экран:");
stateClass.printCapital();
System.out.println();
//Выводим колличество областей
stateClass.printRegion();
//Выводим площадь
stateClass.regionSquare();
//Выводим региональные центры
stateClass.printRegionalCentral("Барановичи");
System.out.println();
}
}
| [
"sahka_kakaxa@mail.ru"
] | sahka_kakaxa@mail.ru |
d38ae746a5864b02dd9e73d36692a7949ee9c5c1 | c5b44d42326bc876c091601bcbc3515ecc801f44 | /eb-admin/target/eb-admin/WEB-INF/classes/com/java/service/impl/TencentServiceImpl.java | ce9a7ba7a3adde7a844ad6dd46badf3e939f95d3 | [] | no_license | gp113/ssmPracticesBack | 932267756afcad08661788a24d484d0a761add0b | 9639c6a9e439e33f9dfaa27669c199d45c618d9e | refs/heads/master | 2023-07-07T01:43:23.865864 | 2021-08-06T08:39:28 | 2021-08-06T08:39:28 | 384,068,034 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 5,661 | java | package com.java.service.impl;
import cn.hutool.core.util.StrUtil;
import com.java.mapper.TencentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.*;
@Service
public class TencentServiceImpl implements com.java.service.TencentService {
@Autowired
private TencentMapper tencentMapper;
/**
* 查询云服务器,并分页显示
*
* @return
*/
@Override
public Map<String, Object> findAllCloud(Integer page, Integer rows) {
Map<String, Object> map = new HashMap<>();
Date nowDate = new Date();
Date endDate;
String dateStr = "";
Long nowTimeInMillis;
Long endTimeInMillis;
Long betweenDays;
//分页查询云服务器
Integer startIndex = (page - 1) * rows;
Integer pageSize = rows;
List<Map<String, Object>> resultList = tencentMapper.selectAllClouds(startIndex, pageSize);
//查询云服务器总数
int total = tencentMapper.selectCloudsCount();
//指定格式化的格式
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
for (int i = 0; i < resultList.size(); i++) {
dateStr = resultList.get(i).get("endTime").toString();
try {
endDate = sdf.parse(dateStr);
} catch (ParseException e) {
throw new RuntimeException("日期转化错误");
}
//获取相差的天数
Calendar calendar = Calendar.getInstance();
calendar.setTime(nowDate);
nowTimeInMillis = calendar.getTimeInMillis();
calendar.setTime(endDate);
endTimeInMillis = calendar.getTimeInMillis();
//比较剩余天数后存入resultMap中
betweenDays = (endTimeInMillis - nowTimeInMillis) / (1000L * 3600L * 24L) + 1;
resultList.get(i).put("hasDate", betweenDays);
}
//将云服务器查询结果List和云服务器总数存入mao中
map.put("rows", resultList);
map.put("total", total);
return map;
}
/**
* 添加云服务器
*
* @param cloudInfo
* @return
*/
@Override
public boolean saveCloud(Map<String, Object> cloudInfo) {
if (StrUtil.hasEmpty(cloudInfo.get("manager").toString())) {
cloudInfo.put("manager", "-");
}
if (StrUtil.hasEmpty(cloudInfo.get("IPAddress").toString())) {
cloudInfo.put("IPAddress", "-");
}
return tencentMapper.insertCloud(cloudInfo) > 0;
}
/**
* 根据id获取云服务器信息
*
* @param cloudID
* @return
*/
@Override
public Map<String, Object> findCloudInfo(Integer cloudID) {
return tencentMapper.selectCloudInfo(cloudID);
}
/**
* 根据id更新云服务器信息
*
* @param cloudInfo
* @return
*/
@Override
public boolean modifyCloudInfo(Map<String, Object> cloudInfo) {
return tencentMapper.updateCloudInfo(cloudInfo) > 0;
}
/**
* 根据idStr删除云服务器信息
*
* @param idStr
* @return
*/
@Override
public boolean removeCloud(String idStr) {
idStr = idStr.substring(0, idStr.lastIndexOf(','));
return tencentMapper.deleteCloud(idStr) > 0;
}
/**
* 根据条查询云服务器,没有条件时查询所有数据
*
* @param searchType
* @param searchValue
* @return
*/
@Override
public Map<String, Object> findCloudsBySearch(String searchType, String searchValue, Integer page, Integer rows) {
Map<String, Object> map = new HashMap<>();
Date nowDate = new Date();
Date endDate;
String dateStr = "";
Long nowTimeInMillis;
Long endTimeInMillis;
Long betweenDays;
//分页查询符合条件的云服务器
Integer startIndex = (page - 1) * rows;
Integer pageSize = rows;
List<Map<String, Object>> resultList = tencentMapper.selectCloudsBySearch(searchType, searchValue, startIndex, pageSize);
//查询符合条件的云服务器总数
int total = tencentMapper.selectCloudsBySearchCount(searchType, searchValue);
//指定格式化的格式
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
for (int i = 0; i < resultList.size(); i++) {
dateStr = resultList.get(i).get("endTime").toString();
try {
endDate = sdf.parse(dateStr);
} catch (ParseException e) {
throw new RuntimeException("日期转化错误");
}
//获取相差的天数
Calendar calendar = Calendar.getInstance();
calendar.setTime(nowDate);
nowTimeInMillis = calendar.getTimeInMillis();
calendar.setTime(endDate);
endTimeInMillis = calendar.getTimeInMillis();
//比较剩余天数后存入resultMap中
betweenDays = (endTimeInMillis - nowTimeInMillis) / (1000L * 3600L * 24L) + 1;
resultList.get(i).put("hasDate", betweenDays);
}
//将云服务器查询结果List和云服务器总数存入mao中
map.put("rows", resultList);
map.put("total", total);
return map;
}
}
| [
"215162993@qq.com"
] | 215162993@qq.com |
64908759d40cce52ccaf8640f6db110ff412c994 | 7c659229c44f28a5b1036a00583774889450c56c | /app/src/main/java/com/capstone/bookkeepingproto2/MainActivity.java | ca17a72fb433254225963e4e16c9a78e9ff24d0c | [] | no_license | StigmaKim/BookkeepingProto2 | 796abf26079024da853a7edf2bbc28387934b237 | c398937a3f5b31f617d9202f48c5d666da43db6a | refs/heads/master | 2021-01-22T14:45:10.330110 | 2015-05-11T13:24:58 | 2015-05-11T13:24:58 | 35,425,484 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 6,082 | java | package com.capstone.bookkeepingproto2;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.Gravity;
import android.view.View;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
import com.loopj.android.http.AsyncHttpResponseHandler;
import org.apache.http.Header;
import org.apache.http.entity.StringEntity;
import org.apache.http.message.BasicHeader;
import org.apache.http.protocol.HTTP;
import org.json.JSONException;
import org.json.JSONObject;
import java.io.UnsupportedEncodingException;
public class MainActivity extends FragmentActivity implements View.OnClickListener{
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
/*
AsyncHttpClient client = HttpClient.getInstance();
PersistentCookieStore myCookieStore = new PersistentCookieStore(this);
client.setCookieStore(myCookieStore);
*/// 자동로그인 부분 Using Cookie.
TextView signin = (TextView) findViewById(R.id.sign_btn);
signin.setOnClickListener(this);
Button login = (Button) findViewById(R.id.login_btn);
login.setOnClickListener(this);
Button pass = (Button) findViewById(R.id.pass_btn);
pass.setOnClickListener(this);
SharedPreferences mPreference;
mPreference = getSharedPreferences("myInfo", MODE_PRIVATE);
if (mPreference.getString("email", "") != "") {
// JSONObject
JSONObject login_info = new JSONObject();
try {
login_info.put("email", mPreference.getString("email", ""));
login_info.put("pw", mPreference.getString("pw", ""));
} catch (JSONException e) {
e.printStackTrace();
}
// Post Request
try {
StringEntity entity = new StringEntity(login_info.toString());
entity.setContentType(new BasicHeader(HTTP.CONTENT_TYPE, "application/json"));
HttpClient.post(this, "login/", entity, new AsyncHttpResponseHandler() {
@Override
public void onSuccess(int i, Header[] headers, byte[] bytes) {
System.out.println("Success test here");
Intent intent = new Intent(getApplicationContext(), PrivateActivity.class);
startActivity(intent);
}
@Override
public void onFailure(int i, Header[] headers, byte[] bytes, Throwable throwable) {
System.out.println("Fail here");
}
});
} catch (UnsupportedEncodingException e) {
}
}
}
@Override
public void onClick(View v) {
if( v.getId() == R.id.sign_btn ){
Intent intent = new Intent(getApplicationContext(), SigninActivity.class);
startActivity(intent);
}
else if( v.getId() == R.id.pass_btn){
Intent intent = new Intent(getApplicationContext(), PrivateActivity.class);
startActivity(intent);
}
else {
EditText email = (EditText) findViewById(R.id.email_login_edt);
EditText pw = (EditText) findViewById(R.id.pw_login_edt);
CheckBox auto = (CheckBox)findViewById(R.id.auto_check);
// Auto Login Using SharedPreference
if(auto.isChecked()) {
SharedPreferences mPreference = getSharedPreferences("myInfo", MODE_PRIVATE);
SharedPreferences.Editor editor = mPreference.edit();
editor.putString("email", email.getText().toString());
editor.putString("pw", pw.getText().toString());
editor.commit();
}
//
JSONObject login_info = new JSONObject();
try {
login_info.put("email", email.getText().toString());
login_info.put("pw", pw.getText().toString());
} catch (JSONException e) {
e.printStackTrace();
}
//Post Transport Success!!!!!!!!!!!!!!!!!!
System.out.println(login_info);
try {
StringEntity entity = new StringEntity(login_info.toString());
entity.setContentType(new BasicHeader(HTTP.CONTENT_TYPE, "application/json"));
HttpClient.post(this, "login/", entity, new AsyncHttpResponseHandler() {
@Override
public void onSuccess(int i, Header[] headers, byte[] bytes) {
System.out.println("Success test here");
if (new String(bytes).equals("1")) {
Intent intent = new Intent(getApplicationContext(), PrivateActivity.class);
startActivity(intent);
} else {
// toast로 아이디or패스워드 틀림 알리기
Toast toastView = Toast.makeText(getApplicationContext(),
new String(bytes), Toast.LENGTH_LONG);
toastView.setGravity(Gravity.CENTER, 40, 25);
toastView.show();
}
}
@Override
public void onFailure(int i, Header[] headers, byte[] bytes, Throwable throwable) {
System.out.println("message : " + throwable.getMessage());
System.out.println("message : " + throwable.getCause());
System.out.println("Fail here");
}
});
} catch (UnsupportedEncodingException e) {
}
}
}
} | [
"jjang9c@naver.com"
] | jjang9c@naver.com |
ce2eb8749b1437bb1d5167ab2a0f498f82c2874b | def09d40eb608fdc55e521eff586c6ee623e83d7 | /src/test/java/com/customercrud/demo/DemoApplicationTests.java | cb98b81e29cc615c6986ad91a21664efe9ec82eb | [] | no_license | Bibash77/Agro-feedback | b4967e3b53dcd05359f3a8fbe9d5041a6f5900e2 | 75ce9fdaba42f044d21fe522039a3079e2ee4de4 | refs/heads/main | 2023-01-12T00:21:24.116188 | 2020-11-22T02:22:50 | 2020-11-22T02:22:50 | 314,943,043 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 345 | java | package com.customercrud.demo;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class DemoApplicationTests {
@Test
public void contextLoads() {
}
}
| [
"biswash166@gmail.com"
] | biswash166@gmail.com |
a00309b320da68d4a70dfca5c4c904ad1e419067 | 8442577e1ed0f31aa887b476b74df86b601c32d5 | /hijklmnstage/.svn/pristine/94/94557482b3d54ecd8c17008c5a3ed421a81e3ea7.svn-base | 6186ef334bf40ce991d63983fcb3aa51d3a680f8 | [] | no_license | guofusong/hijklmn_sc | c667ab536ff0f529883c866dc298abdfe8b63d6a | 83d6283a41b9b7beca19dd490b7b0035fa4c5b59 | refs/heads/master | 2020-03-19T05:08:23.781375 | 2018-08-15T07:14:42 | 2018-08-15T07:14:42 | 135,904,104 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 693 | package edu.guosong.sc.hijklmnstage.common;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
@Component
public class RequestConfig {
private String hijklmndbserver;
private String hijklmnmediaserver;
public String getHijklmndbserver() {
return hijklmndbserver;
}
@Value("${hijklmndbserver}")
public void setHijklmndbserver(String hijklmndbserver) {
this.hijklmndbserver = hijklmndbserver;
}
public String getHijklmnmediaserver() {
return hijklmnmediaserver;
}
@Value("${hijklmnmediaserver}")
public void setHijklmnmediaserver(String hijklmnmediaserver) {
this.hijklmnmediaserver = hijklmnmediaserver;
}
}
| [
"guofusong@outlook.com"
] | guofusong@outlook.com | |
11ff4978dca5611ae0587b83939bebbff6065fd1 | e2123422862607ada61949f2590773e79b60e99b | /Sample/src/com/practice/leetcode/DuplicateZeros.java | e47b74e0d46e9495f7f3461c742a8685289fbd99 | [] | no_license | nupurrajal/practice-coding | 9a4e767063dd6d5306f0c5a19c139423a1c116f4 | dc37e8e576073937676c6ccd8c9d695b0906e79b | refs/heads/main | 2023-07-04T11:55:15.614887 | 2021-08-05T06:39:48 | 2021-08-05T06:39:48 | 376,580,933 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 819 | java | package com.practice.leetcode;
import java.util.Scanner;
public class DuplicateZeros {
private static void duplicateZeroAdd(int[] arr) {
for (int i = 0; i < arr.length; i++) {
if (arr[i] == 0) {
int prev = 0;
for (int j = i+1; j < arr.length; j++) {
int curr = arr[j];
arr[j] = prev;
prev = curr;
}
i++;
}
}
for (int i : arr)
System.out.print(i + " ");
}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int[] A = new int[N];
for (int i = 0; i < N; i++) {
A[i] = sc.nextInt();
}
duplicateZeroAdd(A);
}
}
| [
"nupur.rajal@ril.com"
] | nupur.rajal@ril.com |
08595798688bf8aadcd42b51eb5de941bfcc081b | 93c95fddb8ee313ed5630aca44de2f7fa38af554 | /realtimechat/src/main/java/com/bigsteptech/realtimechat/ui/bottomNavigationBar/BottomNavigationHelper.java | 0dc4849af366e5af7c8c11518c533e9ec7eafb7c | [] | no_license | fellobackup/fellopages-android | 84f0db239e1bd676bf34a317135ffbc5806cfda8 | 5230481f17c42d7936b1772c5635b8d5ea31f4d6 | refs/heads/master | 2020-05-16T02:27:05.944660 | 2019-04-22T06:04:58 | 2019-04-22T06:04:58 | 182,628,654 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 9,486 | java | package com.bigsteptech.realtimechat.ui.bottomNavigationBar;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.ObjectAnimator;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.GradientDrawable;
import android.os.Build;
import android.view.View;
import android.view.ViewAnimationUtils;
import android.widget.FrameLayout;
import com.bigsteptech.realtimechat.R;
/**
* Class description : This is utils class specific for this library, most the common code goes here.
*
* @author ashokvarma
* @version 1.0
* @since 19 Mar 2016
*/
class BottomNavigationHelper {
private BottomNavigationHelper() {
}
/**
* Used to get Measurements for MODE_FIXED
*
* @param context to fetch measurements
* @param screenWidth total screen width
* @param noOfTabs no of bottom bar tabs
* @param scrollable is bottom bar scrollable
* @return width of each tab
*/
public static int[] getMeasurementsForFixedMode(Context context, int screenWidth, int noOfTabs, boolean scrollable) {
int[] result = new int[2];
int minWidth = (int) context.getResources().getDimension(R.dimen.fixed_min_width_small_views);
int maxWidth = (int) context.getResources().getDimension(R.dimen.fixed_min_width);
int itemWidth = screenWidth / noOfTabs;
if (itemWidth < minWidth && scrollable) {
itemWidth = (int) context.getResources().getDimension(R.dimen.fixed_min_width);
} else if (itemWidth > maxWidth) {
itemWidth = maxWidth;
}
result[0] = itemWidth;
return result;
}
/**
* Used to get Measurements for MODE_SHIFTING
*
* @param context to fetch measurements
* @param screenWidth total screen width
* @param noOfTabs no of bottom bar tabs
* @param scrollable is bottom bar scrollable
* @return min and max width of each tab
*/
public static int[] getMeasurementsForShiftingMode(Context context, int screenWidth, int noOfTabs, boolean scrollable) {
int[] result = new int[2];
int minWidth = (int) context.getResources().getDimension(R.dimen.shifting_min_width_inactive);
int maxWidth = (int) context.getResources().getDimension(R.dimen.shifting_max_width_inactive);
double minPossibleWidth = minWidth * (noOfTabs + 0.5);
double maxPossibleWidth = maxWidth * (noOfTabs + 0.75);
int itemWidth;
int itemActiveWidth;
if (screenWidth < minPossibleWidth) {
if (scrollable) {
itemWidth = minWidth;
itemActiveWidth = (int) (minWidth * 1.5);
} else {
itemWidth = (int) (screenWidth / (noOfTabs + 0.5));
itemActiveWidth = (int) (itemWidth * 1.5);
}
} else if (screenWidth > maxPossibleWidth) {
itemWidth = maxWidth;
itemActiveWidth = (int) (itemWidth * 1.75);
} else {
double minPossibleWidth1 = minWidth * (noOfTabs + 0.625);
double minPossibleWidth2 = minWidth * (noOfTabs + 0.75);
itemWidth = (int) (screenWidth / (noOfTabs + 0.5));
itemActiveWidth = (int) (itemWidth * 1.5);
if (screenWidth > minPossibleWidth1) {
itemWidth = (int) (screenWidth / (noOfTabs + 0.625));
itemActiveWidth = (int) (itemWidth * 1.625);
if (screenWidth > minPossibleWidth2) {
itemWidth = (int) (screenWidth / (noOfTabs + 0.75));
itemActiveWidth = (int) (itemWidth * 1.75);
}
}
}
result[0] = itemWidth;
result[1] = itemActiveWidth;
return result;
}
/**
* Used to get set data to the Tab views from navigation items
*
* @param bottomNavigationItem holds all the data
* @param bottomNavigationTab view to which data need to be set
* @param bottomNavigationBar view which holds all the tabs
*/
public static void bindTabWithData(BottomNavigationItem bottomNavigationItem, BottomNavigationTab bottomNavigationTab, BottomNavigationBar bottomNavigationBar) {
Context context = bottomNavigationBar.getContext();
bottomNavigationTab.setLabel(bottomNavigationItem.getTitle(context));
bottomNavigationTab.setIcon(bottomNavigationItem.getIcon(context));
int activeColor = bottomNavigationItem.getActiveColor(context);
int inActiveColor = bottomNavigationItem.getInActiveColor(context);
if (activeColor != -1) {
bottomNavigationTab.setActiveColor(activeColor);
} else {
bottomNavigationTab.setActiveColor(bottomNavigationBar.getActiveColor());
}
if (inActiveColor != -1) {
bottomNavigationTab.setInactiveColor(inActiveColor);
} else {
bottomNavigationTab.setInactiveColor(bottomNavigationBar.getInActiveColor());
}
if (bottomNavigationItem.isInActiveIconAvailable()) {
Drawable inactiveDrawable = bottomNavigationItem.getInactiveIcon(context);
if (inactiveDrawable != null) {
bottomNavigationTab.setInactiveIcon(inactiveDrawable);
}
}
bottomNavigationTab.setItemBackgroundColor(bottomNavigationBar.getBackgroundColor());
setBadgeForTab(bottomNavigationItem.getBadgeItem(), bottomNavigationTab);
}
/**
* Used to set badge for given tab
*
* @param badgeItem holds badge data
* @param bottomNavigationTab bottom navigation tab to which badge needs to be attached
*/
private static void setBadgeForTab(BadgeItem badgeItem, BottomNavigationTab bottomNavigationTab) {
if (badgeItem != null) {
Context context = bottomNavigationTab.getContext();
GradientDrawable shape = getBadgeDrawable(badgeItem, context);
bottomNavigationTab.badgeView.setBackgroundDrawable(shape);
bottomNavigationTab.setBadgeItem(badgeItem);
badgeItem.setTextView(bottomNavigationTab.badgeView);
bottomNavigationTab.badgeView.setVisibility(View.VISIBLE);
bottomNavigationTab.badgeView.setTextColor(badgeItem.getTextColor(context));
bottomNavigationTab.badgeView.setText(badgeItem.getText());
FrameLayout.LayoutParams layoutParams = (FrameLayout.LayoutParams) bottomNavigationTab.badgeView.getLayoutParams();
layoutParams.gravity = badgeItem.getGravity();
bottomNavigationTab.badgeView.setLayoutParams(layoutParams);
if(badgeItem.isHidden()){
// if hide is called before the initialisation of bottom-bar this will handle that
// by hiding it.
badgeItem.hide();
}
}
}
static GradientDrawable getBadgeDrawable(BadgeItem badgeItem, Context context) {
GradientDrawable shape = new GradientDrawable();
shape.setShape(GradientDrawable.RECTANGLE);
// shape.setCornerRadius(context.getResources().getDimensionPixelSize(R.dimen.badge_corner_radius));
shape.setColor(badgeItem.getBackgroundColor(context));
shape.setStroke(badgeItem.getBorderWidth(), badgeItem.getBorderColor(context));
return shape;
}
/**
* Used to set the ripple animation when a tab is selected
*
* @param clickedView the view that is clicked (to get dimens where ripple starts)
* @param backgroundView temporary view to which final background color is set
* @param bgOverlay temporary view which is animated to get ripple effect
* @param newColor the new color i.e ripple color
* @param animationDuration duration for which animation runs
*/
public static void setBackgroundWithRipple(View clickedView, final View backgroundView,
final View bgOverlay, final int newColor, int animationDuration) {
int centerX = (int) (clickedView.getX() + (clickedView.getMeasuredWidth() / 2));
int centerY = clickedView.getMeasuredHeight() / 2;
int finalRadius = backgroundView.getWidth();
backgroundView.clearAnimation();
bgOverlay.clearAnimation();
Animator circularReveal;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
circularReveal = ViewAnimationUtils
.createCircularReveal(bgOverlay, centerX, centerY, 0, finalRadius);
} else {
bgOverlay.setAlpha(0);
circularReveal = ObjectAnimator.ofFloat(bgOverlay, "alpha", 0, 1);
}
circularReveal.setDuration(animationDuration);
circularReveal.addListener(new AnimatorListenerAdapter() {
@Override
public void onAnimationEnd(Animator animation) {
onCancel();
}
@Override
public void onAnimationCancel(Animator animation) {
onCancel();
}
private void onCancel() {
backgroundView.setBackgroundColor(newColor);
bgOverlay.setVisibility(View.GONE);
}
});
bgOverlay.setBackgroundColor(newColor);
bgOverlay.setVisibility(View.VISIBLE);
circularReveal.start();
}
}
| [
"eryll.s@filipinowebmasters.com"
] | eryll.s@filipinowebmasters.com |
1c6d02363c07f0106210451b25e074198942a9d7 | 2ea1b2631b184e7a370bf990764baef364b7c77e | /myfriend/src/co/friend/AppMain.java | 8cfe32a80feb2c4b70923529a6c2fc396cc844bb | [] | no_license | lgh0480/GeonJava | 7a11a64c9a6fb09fb389f63ef8c894f2dddc4686 | e61d0b8d881f33ed4ccffcb9b934087499f136ac | refs/heads/main | 2023-06-08T23:30:45.973532 | 2021-06-29T14:08:52 | 2021-06-29T14:08:52 | 372,703,893 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 336 | java | package co.friend;
import co.friend.view.FriendCliApp;
import co.friend.view.FriendGuiApp;
public class AppMain {
public static void main(String[] args) {
// TODO Auto-generated method stub
// FriendCliApp app = new FriendCliApp();
// app.start();
// new FriendCliApp().start(); //메서드 체인
new FriendGuiApp();
}
}
| [
"admin@YD03-01"
] | admin@YD03-01 |
2922ddd614848cabfeb4955a795661d52208f743 | 42e08658d4fe0e9d898a2d841a45a0970493bb2a | /src/test/java/steps/CreateLeadFunctions.java | 8d590f82d037bccc6c52b3d3aa8dbbd9ad474395 | [] | no_license | divyaj17/LearnSelenium1 | 6d1a173225b09935488a1c3279b4cc28d5d66a18 | d9a91940e16422be9106127b360fa9742d38e137 | refs/heads/master | 2023-05-14T16:03:34.438155 | 2020-02-02T07:26:08 | 2020-02-02T07:26:52 | 237,734,025 | 0 | 0 | null | 2023-05-09T18:37:53 | 2020-02-02T07:19:49 | Java | UTF-8 | Java | false | false | 5,070 | java | package steps;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
import cucumber.api.java.en.Given;
import cucumber.api.java.en.Then;
import cucumber.api.java.en.When;
import projectCommonMethods.ProjectCommonMethods;
public class CreateLeadFunctions
{
public static ChromeDriver driver;
//****************** Scenario 1
@Given("Launch the Browser")
public void launchBrowser()
{
System.setProperty("webdriver.chrome.driver", "./drivers/chromedriver.exe");
driver=new ChromeDriver();
}
@Given("Load the URL")
public void loadURL()
{
driver.get("http://leaftaps.com/opentaps");
}
@Given("Maximise the Browser")
public void maximiseBrowser() {
driver.manage().window().maximize();
}
@Given("Set the Timeouts")
public void setTimeouts() {
driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
}
@Given("Enter Username as Demosalesmanager")
public void enterUsernamer()
{
driver.findElementById("username").sendKeys("DemoSalesManager");
}
@Given("Enter Password as crmsfa")
public void enterPassword() {
driver.findElementById("password").sendKeys("crmsfa");
}
@When("Click on the Login Button")
public void clickLogin() {
driver.findElementByClassName("decorativeSubmit").click();
}
@Given("Click CRMSFA Link")
public void clickCRMSFA() {
driver.findElementByLinkText("CRM/SFA").click();
}
@Given("Click on the Leads Tab")
public void clickLeads() {
driver.findElementByLinkText("Leads").click();
}
@Given("Click on the Create Lead Menu")
public void clickCreateLead() {
driver.findElementByLinkText("Create Lead").click();
}
@Given("Enter the Company Name")
public void enterCompanyName() {
driver.findElementById("createLeadForm_companyName").sendKeys("TCS");
}
@Given("Enter the First Name")
public void enterFirstName() {
driver.findElementById("createLeadForm_firstName").sendKeys("Divi");
}
@Given("Enter the Last Name")
public void enterLastName() {
driver.findElementById("createLeadForm_lastName").sendKeys("J");
}
@When("Click on the Create Lead Button")
public void clickCreateLeadButton() {
WebElement dd = driver.findElementByClassName("smallSubmit");
dd.click();
}
@Then("Verify Lead Creation is success")
public void verifyLeadCreation()
{
String ActualTitle=driver.getTitle();
String ExpectedTitle="View Lead | opentaps CRM";
if(ActualTitle.equals(ExpectedTitle))
{
System.out.println("Page title is verified and the tite is :" +ActualTitle );
System.out.println("Lead created successfully");
}
else
{
System.out.println("Page title is not verified");
}
driver.close();
}
//***************Scenario 2 functions****************
@Given("Enter the Company Name as (.*)$")
public void enterCompanyName(String cName)
{
driver.findElementById("createLeadForm_companyName").sendKeys(cName);
}
@Given("Enter the First Name as (.*)")
public void enterFirstName(String fName)
{
driver.findElementById("createLeadForm_firstName").sendKeys(fName);
}
@Given("Enter the Last Name as (.*)")
public void enterLastName(String lName)
{
driver.findElementById("createLeadForm_lastName").sendKeys(lName);
}
///****************Scenario 3
@Given("Click on the Find Lead Menu")
public void clickFindLeadMenu()
{
driver.findElementByXPath("//a[contains(text(),'Find Leads')]").click();
}
@Given("Enter the F Name as Deepi")
public void enterFName() throws InterruptedException {
driver.findElementByXPath("(//input[@name='firstName'][@type='text'])[3]").sendKeys("Swathi");
Thread.sleep(2000);
}
@Given("Click Find Leads")
public void clickFindLeads() throws InterruptedException
{
driver.findElementByXPath("//a[contains(text(),'Find Leads')]").click();
Thread.sleep(2000);
}
@Given("Click the first result")
public void clickfirstresult()
{
driver.findElementByXPath("(//table[@class='x-grid3-row-table'])[1]/tbody/tr[1]/td[1]/div/a[@class='linktext']").click();
}
@Given("Click Edit lead")
public void clickEditlead()
{
driver.findElementByXPath("//div[@class='frameSectionExtra']/a[text()='Edit']").click();
}
@Given("Enter the updated Company Name as Hero")
public void enterupdatedCompanyName()
{
WebElement company=driver.findElementByXPath("(//input[@name='companyName'])[2]");
company.click();
company.clear();
company.sendKeys("Hero");
}
@When("Click the update button")
public void clickupdatebutton()
{
driver.findElementByXPath("//input[@type='submit'][@value='Update']").click();
}
@Then("Verify Lead Updation is success")
public void verifyLeadUpdation()
{
WebElement companyName=driver.findElementByXPath("(//div[@class='fieldgroup-body'])[1]//tbody/tr[1]/td[2]");
String ExpectedValue1 = companyName.getText();
String t=ExpectedValue1.replaceAll("[^a-zA-Z]", "");
String t1=t.replaceAll("\\s","");
System.out.println(t1);
System.out.println("Updated company name is displayed");
}
}
| [
"user@DESKTOP-0ET4NJV"
] | user@DESKTOP-0ET4NJV |
2d19e477897ac864ce3d2487aceb3a6eedd9236d | acea543810fa0a368b66206587ead73a70b5bedd | /Java/1008/Main.java | 72636c3c680f7d102f2bb1606a50623c08fb5265 | [
"MIT"
] | permissive | bmviniciuss/URI | ea7575c0fcbee0317153219c49e7549ef6a20886 | cb57027e8b5f5309eb90770fb6028ffad1c703de | refs/heads/master | 2021-09-09T16:20:45.338234 | 2018-03-17T22:38:34 | 2018-03-17T22:38:34 | 105,489,368 | 4 | 1 | null | 2018-01-28T08:53:27 | 2017-10-02T01:58:58 | C | UTF-8 | Java | false | false | 514 | java |
// 1008 - SALÁRIO
import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
int number, workedHours;
double perHour, salary;
Scanner sc = new Scanner(System.in);
number = sc.nextInt();
workedHours = sc.nextInt();
perHour = sc.nextDouble();
sc.close();
salary = (perHour * workedHours);
System.out.printf("NUMBER = %d\n", number);
System.out.printf("SALARY = U$ %.2f\n", salary);
}
} | [
"bmvinicius11@gmail.com"
] | bmvinicius11@gmail.com |
8509a3e9f90bdcbe10eedceb0c738f2e55c08fa6 | e7a70c99b950348dd8ccb842a56f370185479a8c | /user service and api-gateway/userservice/src/main/java/com/pixogram/userservice/service/Userservices.java | 1684f651aa633a40013cda5f7e4593fc792f9b4a | [] | no_license | Supraja610/Project | 10e79e05069c82d4547f8586c0d83c9dca41b517 | f65f143aa58ae9b13ed0bb7c9f32595438e73209 | refs/heads/master | 2020-12-15T00:05:41.107917 | 2020-03-12T11:49:01 | 2020-03-12T11:49:01 | 234,920,042 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,245 | java | package com.pixogram.userservice.service;
import java.util.List;
import java.util.Optional;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.pixogram.userservice.entity.Authorities;
import com.pixogram.userservice.entity.Users;
import com.pixogram.userservice.model.UserInput;
import com.pixogram.userservice.model.UserOutput;
import com.pixogram.userservice.repository.AuthorityRepository;
import com.pixogram.userservice.repository.UsersRepository;
@Service
public class Userservices implements IUserServices{
@Autowired
private UsersRepository userRepository;
@Autowired
private AuthorityRepository authorityRepository;
public List<Users> getall(){
List<Users> records=this.userRepository.findAll();
return records;
}
public Optional<Users> getWithId(Integer id){
Optional<Users> record= this.userRepository.findById(id);
return record;
}
public void saveuser(UserInput user) {
Users data = new Users();
//Authorities auth = new Authorities();
//auth.setUsername(user.getUsername());
//auth.setAuthority("ROLE_USER");
// data.setId(user.getId());
data.setUserName(user.getUsername());
data.setFirstName(user.getFname());
data.setLastName(user.getLname());
data.setEmail(user.getUemail());
data.setDob(user.getDob());
data.setPassword("{noop}" + user.getPassword());
data.setProfile(user.getProfile());
data.setEnabled(true);
this.userRepository.save(data);
// add authority
Authorities role = new Authorities(user.getUsername(), "ROLE_USER");
this.authorityRepository.save(role);
}
public void updateuser(UserOutput user) {
Users data = new Users();
//Authorities auth = new Authorities();
//auth.setUsername(user.getUsername());
//auth.setAuthority("ROLE_USER");
data.setId(user.getId());
data.setUserName(user.getUsername());
data.setFirstName(user.getFname());
data.setLastName(user.getLname());
data.setEmail(user.getUemail());
data.setDob(user.getDob());
data.setPassword(user.getPassword());
data.setProfile(user.getProfile());
data.setEnabled(true);
this.userRepository.save(data);
}
}
| [
"noreply@github.com"
] | noreply@github.com |
df0e7117ee0a7e8a3bc65e11d1abcc56ce9c6e82 | d314f4b6ad9715b12ca05b0966e6095c7053c5a0 | /core/src/gwtcog/core/util/obj/ObjectCloner.java | 02de002146c19fd9f1f895243cf95e10dfec5d1e | [] | no_license | MichielVdAnker/gwtcog | d2b46be0f27413e50b829b6d9cbcd16b5a2d2e54 | 795047ced68048e142561f7f4ad99a3dde9b63ee | refs/heads/master | 2021-01-23T12:34:45.840098 | 2013-05-11T14:27:40 | 2013-05-11T14:27:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,719 | java | package gwtcog.core.util.obj;
///*
// * Encog(tm) Core v3.2 - Java Version
// * http://www.heatonresearch.com/encog/
// * https://github.com/encog/encog-java-core
//
// * Copyright 2008-2013 Heaton Research, Inc.
// *
// * Licensed under the Apache License, Version 2.0 (the "License");
// * you may not use this file except in compliance with the License.
// * You may obtain a copy of the License at
// *
// * http://www.apache.org/licenses/LICENSE-2.0
// *
// * Unless required by applicable law or agreed to in writing, software
// * distributed under the License is distributed on an "AS IS" BASIS,
// * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// * See the License for the specific language governing permissions and
// * limitations under the License.
// *
// * For more information on Heaton Research copyrights, licenses
// * and trademarks visit:
// * http://www.heatonresearch.com/copyright
// */
//package gwtcog.core.util.obj;
//
////import java.io.ByteArrayInputStream;
////import java.io.ByteArrayOutputStream;
////import java.io.ObjectInputStream;
////import java.io.ObjectOutputStream;
//
//import gwtcog.core.shared.org.encog.EncogError;
//
///**
// * A simple Object cloner that uses serialization. Actually works really well
// * for the somewhat complex nature of BasicNetwork. Performs a deep copy without
// * all the headache of programming a custom clone.
// *
// * Original by Dave Miller here:
// * http://www.javaworld.com/javaworld/javatips/jw-javatip76.html?page=2
// */
//public final class ObjectCloner {
//
// /**
// * Perform a deep copy.
// *
// * @param oldObj
// * The old object.
// * @return The new object.
// */
// public static Object deepCopy(final Object oldObj) {
// ObjectOutputStream oos = null;
// ObjectInputStream ois = null;
// try {
// final ByteArrayOutputStream bos = new ByteArrayOutputStream(); // A
// oos = new ObjectOutputStream(bos); // B
// // serialize and pass the object
// oos.writeObject(oldObj); // C
// oos.flush(); // D
// final ByteArrayInputStream bin = new ByteArrayInputStream(bos
// .toByteArray()); // E
// ois = new ObjectInputStream(bin); // F
// // return the new object
// return ois.readObject(); // G
// } catch (final Exception e) {
// throw new EncogError(e);
// } finally {
// try {
// if (oos != null) {
// oos.close();
// }
// if (ois != null) {
// ois.close();
// }
// } catch (final Exception e) {
// throw new EncogError(e);
// }
// }
// }
//
// /**
// * Private constructor.
// */
// private ObjectCloner() {
// }
//
//}
| [
"michiel.van.den.anker@gmail.com"
] | michiel.van.den.anker@gmail.com |
e9247a0599028a0a6c873618780e0a89db0e2eaf | 6c2084cf20ec942eaae55923a922cf60cb0d675f | /FootballManagerSite/src/main/java/com/football/manager/AppInit.java | f6c7086379e4088d133cc459b66de08a742a8c16 | [] | no_license | Rexxar1919/MyFullProject | 9295d7e2b40c33b1e80dc3962df09740c93b84d0 | 1465edf541836305d1dcdfbd410421bc93164cd8 | refs/heads/master | 2020-06-30T13:37:55.382948 | 2019-08-06T11:52:48 | 2019-08-06T11:52:48 | 200,172,187 | 0 | 0 | null | 2019-08-02T05:39:43 | 2019-08-02T05:39:43 | null | UTF-8 | Java | false | false | 304 | java | package com.football.manager;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class AppInit {
public static void main(String[] args) {
SpringApplication.run(AppInit.class, args);
}
} | [
"nekromagus@mail.ru"
] | nekromagus@mail.ru |
ce2332074192fc106e0affdbe52744cb3bedab6f | edbf8601ae771031ad8ab27b19c2bf450ca7df76 | /306-Additive-Number/AdditiveNumber.java | ed44edc62aff0434d2efe8fe48418e4a5816d9d1 | [] | no_license | gxwangdi/Leetcode | ec619fba272a29ebf8b8c7f0038aefd747ccf44a | 29c4c703d18c6ff2e16b9f912210399be427c1e8 | refs/heads/master | 2022-07-02T22:08:32.556252 | 2022-06-21T16:58:28 | 2022-06-21T16:58:28 | 54,813,467 | 3 | 2 | null | 2022-06-21T16:58:29 | 2016-03-27T05:02:36 | Java | UTF-8 | Java | false | false | 2,132 | java | public class AdditiveNumber {
/*
public boolean isAdditiveNumber(String num) {
if (num==null || num.length()<=2)
return false;
//[0, 1] is first number, [i+1, j] is second number, [j+1 and end] is remaining
for (int i=0; i<(num.length()-1)/2; i++) {
for (int j=i+1; num.length()-j-1>=Math.max(i+1, j-1); j++) {
if (isValid(num.substring(0, i+1), num.substring(i+1, j+1), num.substring(j+1)))
return true;
}
}
return false;
}// end of isAdditiveNumber
public boolean isValid(String num1, String num2, String remain) {
if (remain.isEmpty()) return true;
if (num1.charAt(0) == '0' && num1.length()>1) return false;
if (num2.charAt(0) == '0' && num2.length()>1) return false;
String sum = String.valueOf(Long.parseLong(num1) + Long.parseLong(num2));
if (!remain.startsWith(sum)) return false;
return isValid(num2, sum, remain.substring(sum.length()));
}
*/
public boolean isAdditiveNumber(String num) {
if (num == null || num.length() <= 2) return false;
//[0,i] is first number, [i+1,j] is second number,[j+1 any end is remaining]
// Once the first two are determined, the left part is determined.
for (int i = 0; i < (num.length() - 1) / 2; i++) {
for (int j = i + 1; num.length() - j - 1 >= Math.max(i + 1, j - i); j++) {
int offset = j + 1;
String num1 = num.substring(0, i + 1), num2 = num.substring(i + 1, j + 1);
while (offset < num.length()) {
if (num1.charAt(0) == '0' && num1.length() > 1) break;
if (num2.charAt(0) == '0' && num2.length() > 1) break;
String sum = String.valueOf(Long.parseLong(num1) + Long.parseLong(num2));
if (!num.startsWith(sum, offset)) break;
num1 = num2;
num2 = sum;
offset += sum.length();
}
if (offset == num.length()) return true;
}
}
return false;
}
} | [
"gxwangdi@gmail.com"
] | gxwangdi@gmail.com |
d94c8c7ff932674645aba41fe8102823636d01f2 | fd849310484af94ee7a83d27a5f4b59f0c086104 | /src/main/java/com/agendamentodeconsulta/controller/EspecialidadeController.java | ccd888f4da7a179a7660c7ca097ccd2315c4a76e | [] | no_license | DiegoLeal/Agendamento_de_Consulta | c0d7f4f54164c172b86736d60526da775535ec48 | 56ef929c0caaead16a19b5efaa5ff69059bd153d | refs/heads/master | 2023-05-14T11:41:01.042751 | 2021-06-09T00:57:58 | 2021-06-09T00:57:58 | 375,174,578 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 445 | java | package com.agendamentodeconsulta.controller;
import com.agendamentodeconsulta.model.Especialidade;
import com.agendamentodeconsulta.service.EspecialidadeService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/especialidade")
public class EspecialidadeController extends DefaultController<Especialidade, EspecialidadeService> {
}
| [
"diegogmach@outlook.com"
] | diegogmach@outlook.com |
730422e17719bdfc2726466ffb110861cb6d5092 | 10dc7b3c0b22198b440b9427c80e8705ed6c7971 | /src/main/java/com/sda/demo/zadania/dummyLogger/logger/UtilConfigure.java | 71499f1d46fa9d093975071dbe46c9b9c76ff12d | [] | no_license | BarCzerw/springCourse | c2ac1a80be4e48413a10a3b43ff4a713b6f6c6a7 | d34a6462ba5c454966b01363dbbd72aec9a11dcf | refs/heads/master | 2023-05-24T13:00:30.540741 | 2021-06-12T12:37:31 | 2021-06-12T12:37:31 | 370,798,143 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 303 | java | package com.sda.demo.zadania.dummyLogger.logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class UtilConfigure {
@Bean
public DummyService dummyService(){
return new DummyService();
}
}
| [
"czerwonkabartlomiej@gmail.com"
] | czerwonkabartlomiej@gmail.com |
ad407d12b54baecbc25fb95d43c023dd5eeee6e9 | 39759c20df0525ed724cf3f3ba1d1ed5427e27da | /src/test/java/com/ryanair/alvaro/interconnectingflights/logic/ScheduleAbsoluteRouteInterconnectionResolverImplTest.java | 5b6d3d0dd3533fe63e1f3eafddaddfbace9dbef9 | [] | no_license | alvarovelasco/interconnecting-flights | 1746e7fb51c8e085e3334efcc1f40b09d08e7edc | 90bdbbcce9dc1d3fcd9eeb94db5cd7db81219630 | refs/heads/master | 2020-03-19T09:35:17.255318 | 2018-06-24T21:15:58 | 2018-06-24T21:15:58 | 136,301,026 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,836 | java | package com.ryanair.alvaro.interconnectingflights.logic;
import static org.junit.Assert.assertNotNull;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.List;
import java.util.Optional;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.context.annotation.Import;
import org.springframework.test.context.TestPropertySource;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.web.client.RestTemplate;
import com.ryanair.alvaro.interconnectingflights.TestConfig;
import com.ryanair.alvaro.interconnectingflights.logic.ScheduleAbsoluteRouteInterconnectionResolverImplService;
import com.ryanair.alvaro.interconnectingflights.model.json.ResolvedSchedule;
import com.ryanair.alvaro.interconnectingflights.model.json.Route;
@RunWith(SpringRunner.class)
@SpringBootTest
@Import(TestConfig.class)
@TestPropertySource("classpath:global.properties")
public class ScheduleAbsoluteRouteInterconnectionResolverImplTest {
@Autowired
RestTemplate restTemplate;
@Autowired
private ScheduleAbsoluteRouteInterconnectionResolverImplService scheduleAbsoluteRouteResolverImpl;
@Test
public void testRyanairInterconnectionScheduleResolver() {
Route routeManAlc = Route.get("MAN", "ALC");
LocalDateTime departure = LocalDateTime.parse("2018-06-17T06:00", DateTimeFormatter.ISO_LOCAL_DATE_TIME);
LocalDateTime arrival = LocalDateTime.parse("2018-06-17T23:45", DateTimeFormatter.ISO_LOCAL_DATE_TIME);
List<ResolvedSchedule> routes = scheduleAbsoluteRouteResolverImpl.resolve(routeManAlc, departure, arrival);
assertNotNull(routes);
System.out.println(routes);
}
}
| [
"avf@exerp.com"
] | avf@exerp.com |
59219ef99da7b628d686e3cd7781fe897143f78e | 4a0e6ecfe46e931dbd71c08e555867f103440688 | /src/com/bear53/ecore/kitpvp/commands/SnowmanClass.java | 3756b45193ec263dbcdc76c9fe5af303f80c85f6 | [] | no_license | ItsDoot/FlameKitPvp | 670b0c424938cf4fd09c85eae0c2fbc28e1e0517 | 414addc8dc49ee193be36ac1a6bc5505e12f9241 | refs/heads/master | 2023-03-09T01:24:32.030739 | 2021-02-28T04:07:33 | 2021-02-28T04:07:33 | 343,016,668 | 0 | 1 | null | null | null | null | UTF-8 | Java | false | false | 3,068 | java | package com.bear53.ecore.kitpvp.commands;
import java.util.ArrayList;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.Sound;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.enchantments.Enchantment;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
import com.bear53.ecore.Core;
import com.bear53.ecore.kitpvp.KitPvp;
public class SnowmanClass implements CommandExecutor {
Core plugin;
public SnowmanClass(Core pl) {
this.plugin = pl;
}
public boolean onCommand(CommandSender sender, Command cmd,
String commandLabel, String[] args) {
Player p = (Player) sender;
if (commandLabel.equalsIgnoreCase("snowman")) {
if (!KitPvp.activeKit.contains(p.getName())) {
if (plugin.getConfig().getInt(
"players." + p.getUniqueId().toString() + ".1v1wins") >= 30) {
KitPvp.activeKit.add(p.getName());
p.sendMessage(ChatColor.GREEN
+ "You have activated the Snowman Kit!");
ItemStack Sword = new ItemStack(Material.STONE_SWORD);
ItemStack h = new ItemStack(Material.CHAINMAIL_HELMET);
ItemStack c = new ItemStack(Material.CHAINMAIL_CHESTPLATE);
ItemStack l = new ItemStack(Material.CHAINMAIL_LEGGINGS);
ItemStack b = new ItemStack(Material.CHAINMAIL_BOOTS);
ItemStack spade = new ItemStack(Material.IRON_SPADE);
ItemMeta sm = spade.getItemMeta();
sm.setDisplayName(ChatColor.AQUA + "Snowball Launcher");
spade.setItemMeta(sm);
Sword.addEnchantment(Enchantment.DAMAGE_ALL, 2);
h.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
c.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
l.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
b.addEnchantment(Enchantment.PROTECTION_ENVIRONMENTAL, 2);
p.getInventory().clear();
KitPvp.clearEffects(p);
p.getInventory().addItem(new ItemStack[] { Sword });
p.getInventory().addItem(new ItemStack[] { spade });
p.getInventory().setHelmet(h);
p.getInventory().setChestplate(c);
p.getInventory().setLeggings(l);
p.getInventory().setBoots(b);
ItemStack itemshop = new ItemStack(Material.BLAZE_POWDER);
ItemMeta shopmeta = itemshop.getItemMeta();
shopmeta.setDisplayName(ChatColor.GREEN + "Item Shop");
ArrayList<String> shoplore = new ArrayList<String>();
shoplore.add(ChatColor.RED
+ "Be sure to have space in your inventory!");
shopmeta.setLore(shoplore);
itemshop.setItemMeta(shopmeta);
p.getInventory().setItem(8, itemshop);
p.playSound(p.getLocation(), Sound.LEVEL_UP, 3.0F, 2.0F);
if (plugin.getConfig().getBoolean("potion-enabled")) {
KitPvp.giveHeath(p);
} else {
KitPvp.giveSoup(p);
}
} else {
p.sendMessage(KitPvp.noPerm);
}
} else {
p.sendMessage(KitPvp.activekit);
}
}
return true;
}
} | [
"rechargeassistance@gmail.com"
] | rechargeassistance@gmail.com |
9045e4e66610774bc6f313530a2ba8da4ef4a2c4 | a64e07272238dd946e48ca5423990fafcca27da6 | /src/力扣/code/src/main/java/com.code/array/SumEvenAfterQueries.java | 915f28977c2f6f7d13978496a05149c763cb4b8f | [] | no_license | bin392328206/six-finger | 8dd512bcfb1cf8b2aeb20a3bfaa616223492c37d | a9cf8880e9b432b606fb06b3e132a958b43245fb | refs/heads/master | 2023-05-26T23:46:02.261094 | 2023-05-25T07:27:34 | 2023-05-25T07:27:34 | 224,073,067 | 1,876 | 314 | null | 2022-06-17T03:09:57 | 2019-11-26T01:11:43 | Java | UTF-8 | Java | false | false | 1,442 | java | package com.code.array;
/**
* @author 小六六
* @version 1.0
* @date 2020/8/17 11:43
* 给出一个整数数组 A 和一个查询数组 queries。
*
* 对于第 i 次查询,有 val = queries[i][0], index = queries[i][1],我们会把 val 加到 A[index] 上。然后,第 i 次查询的答案是 A 中偶数值的和。
*
* (此处给定的 index = queries[i][1] 是从 0 开始的索引,每次查询都会永久修改数组 A。)
*
* 返回所有查询的答案。你的答案应当以数组 answer 给出,answer[i] 为第 i 次查询的答案。
*
* 来源:力扣(LeetCode)
* 链接:https://leetcode-cn.com/problems/sum-of-even-numbers-after-queries
* 著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。
*/
public class SumEvenAfterQueries {
public int[] sumEvenAfterQueries(int [] A,int [][] queries){
int S=0;
for (int i : A) {
if (i%2==0){
S=S+i;
}
}
int[] ans =new int[queries.length];
for (int i=0;i<queries.length;i++){
int val=queries[i][0];
int index=queries[i][1];
if (A[index]%2==0){
S=S-A[index];
}
A[index]+=val;
if (A[index]%2==0){
S=S+A[index];
}
ans[i]=S;
}
return ans;
}
}
| [
"1341432007@qq.com"
] | 1341432007@qq.com |
fd371388a2f6a5d7e7df27a40fabacd821124a42 | e3a988ecfe390a956a7614cb69c069ec033825ac | /TweeterApp-3/shared/src/main/java/edu/byu/cs/tweeter/model/domain/SQSModel.java | da0825e52db00b9653aec2b7a59e4605ce7e6350 | [] | no_license | chriswils95/Android_Apps | 95bfda75b9f41dc48697e9226c6dc66a137d9738 | fc1b3be3d85913f35ab39b5d7401e9b3254a27dd | refs/heads/main | 2023-04-21T05:17:18.954137 | 2021-05-10T20:19:56 | 2021-05-10T20:19:56 | 366,151,339 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 656 | java | package edu.byu.cs.tweeter.model.domain;
import java.io.Serializable;
import java.util.Set;
public class SQSModel implements Serializable {
Status status;
Set<String> userAliases;
public Status getStatus() {
return status;
}
public void setStatus(Status status) {
this.status = status;
}
public Set<String> getUserAliases() {
return userAliases;
}
public void setUserAliases(Set<String> userAliases) {
this.userAliases = userAliases;
}
public SQSModel(Status status, Set<String> userAliases){
this.status = status;
this.userAliases = userAliases;
}
}
| [
"cw2636@byu.edu"
] | cw2636@byu.edu |
08596dcba3c95affe3bbc71ce00d013f8d3b72f8 | 16c47353da26311e1b37cc8f59b6bd6e0b89b950 | /integration-tests/lumberjack/src/test/java/org/apache/camel/quarkus/component/lumberjack/it/LumberjackAckResponse.java | 7dde61a81db3a0c524700bbf7a6a2868771c3074 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | apache/camel-quarkus | 8776c1d97941d3eceb58d889d7cbb6a2e7bfcf8e | 038810b4144fd834460fb65a1e9c701590aab9d1 | refs/heads/main | 2023-09-01T17:54:31.555282 | 2023-09-01T10:24:09 | 2023-09-01T13:44:23 | 193,065,376 | 236 | 196 | Apache-2.0 | 2023-09-14T17:29:35 | 2019-06-21T08:55:25 | Java | UTF-8 | Java | false | false | 1,818 | java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.camel.quarkus.component.lumberjack.it;
public class LumberjackAckResponse {
private short version;
private short frame;
private int sequence;
private int remaining;
public LumberjackAckResponse(short version, short frame, int sequence, int remaining) {
this.version = version;
this.frame = frame;
this.sequence = sequence;
this.remaining = remaining;
}
public short getVersion() {
return version;
}
public void setVersion(short version) {
this.version = version;
}
public short getFrame() {
return frame;
}
public void setFrame(short frame) {
this.frame = frame;
}
public int getSequence() {
return sequence;
}
public void setSequence(int sequence) {
this.sequence = sequence;
}
public int getRemaining() {
return remaining;
}
public void setRemaining(int remaining) {
this.remaining = remaining;
}
}
| [
"ppalaga@redhat.com"
] | ppalaga@redhat.com |
cbda0a94820b5643beb53039cfc978244884ec12 | 89acbf8ab9d61989b969b6027568f013b8284c45 | /java-se/Interfacerules/CanWork.java | 43b2808c0e87e3df4f9a4928286242072f82ba27 | [] | no_license | szalaiattila/training-solutions-regi | 3223fe97ae824aaa5d7a27b409d28a21ef96351d | 4b0b8a31d3a802167ee1ddfcbe6328ab68339620 | refs/heads/master | 2023-02-21T09:16:20.418102 | 2021-01-26T22:09:01 | 2021-01-26T22:09:01 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 80 | java | package Interfacerules;
public interface CanWork {
void doWork();
}
| [
"noreply@github.com"
] | noreply@github.com |
05fc606213c4a65b13a467305f388d7e3cb1b4f8 | 5e0df685484be3fc9b610348e52afed262ec5651 | /HolaMundo.java | c4669be0ce302c08984c9d430c44779f93788929 | [] | no_license | pahuaman/Java | c301a1c6566602d0daec6f1ab6e783cccb608e8d | d2d5a90fd64abbc9fa20e492151f73fbaa38d1e3 | refs/heads/master | 2021-01-09T09:35:55.534328 | 2016-06-05T18:02:45 | 2016-06-05T18:02:45 | 60,473,254 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 299 | java | /**
* @(#)HolaMundo.java
*
*
* @author
* @version 1.00 2015/7/12
*/
public class HolaMundo {
//constructor
public HolaMundo() {
}
//main principal
public static void main(String[] args) {
System.out.println("HOLA MUNDO");
}
}
| [
"mediobestia_275@hotmail.com"
] | mediobestia_275@hotmail.com |
3f7d42374c21956b5240913b1df5a7a0cbb6231a | 62f8fe861cb48a0eea23161209964ef88b8a3076 | /onjava8/src/main/java/reuse/SpaceShipControls.java | 6ccb9b208fa3bbbbfff4b13661148003161669ea | [
"Apache-2.0"
] | permissive | funnycoding/java_learn | 38201508bcd361db991294d57ce2ec62b348dc50 | c6e7426360a09de954728d94fdee5a2be700fd92 | refs/heads/master | 2023-01-31T14:28:12.499747 | 2020-12-12T12:18:11 | 2020-12-12T12:18:11 | 250,736,453 | 0 | 0 | Apache-2.0 | 2020-12-12T11:53:48 | 2020-03-28T07:18:06 | Java | UTF-8 | Java | false | false | 367 | java | package reuse;
/**
* @author XuYanXin
* @program aibook-parent
* @description
* @date 2020/2/26 12:15 下午
*/
public class SpaceShipControls {
void up(int velocity) {}
void down(int velocity) {}
void left(int velocity) {}
void right(int velocity) {}
void forward(int velocity) {}
void back(int velocity) {}
void turboBoost() {}
}
| [
"funnycodingxu@gmail.com"
] | funnycodingxu@gmail.com |
f1d7dcfe95ae0cac0dc291b29f12ceb6447ce248 | df9a7f7547a114957a8f8dd728927902dd3eaa7d | /webapp/src/control/AdminCustomerListController.java | fdd1179754b3108c2c776508d6080cef6f804008 | [] | no_license | taejung91/kidney | 589f5d025fa16c6524c8df33e2f681a26c726ef9 | 636108f2ae98e9c2aa5fab1d7ce13c5fc9116eab | refs/heads/master | 2023-03-10T02:01:05.812209 | 2021-02-22T05:45:39 | 2021-02-22T05:45:39 | 341,082,348 | 1 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,276 | java | package control;
import java.util.ArrayList;
import java.util.Map;
import dao2.AdminDao;
import dto2.Customer;
import dto2.Paging;
import webapp.Component;
import webapp.Controller;
import webapp.DataBinding;
@Component("/kidney/admincustomerlist.do")
public class AdminCustomerListController implements Controller, DataBinding {
private AdminDao adminDao;
public AdminCustomerListController setAdminDao(AdminDao adminDao) {
this.adminDao = adminDao;
return this;
}
@Override
public Object[] getDataBinders() {
return new Object[] { "page", Integer.class };
}
@Override
public String execute(Map<String, Object> model) throws Exception {
// 페이징
int page = (Integer) model.get("page");
Paging paging = new Paging();
// 보여주는 글 수
paging.setDisplayRow(10);
int cnt = paging.getDisplayRow();
// DB 총 갯수
int count = adminDao.getAllCount6();
// url 주소
// paging.setUrl("");
paging.setTotalCount(count);
paging.setPage(page);
ArrayList<Customer> CustomerList = adminDao.listCustomer(page, cnt);
model.put("CustomerList", CustomerList);
model.put("paging", paging);
model.put("page", page);
return "/kidney/AdminCustomerList.jsp";
}
}
| [
"SEO@SEO-PC"
] | SEO@SEO-PC |
d6402513ae81e2f5db836ce887e2906c879a11a0 | ad1f3a24091ff25ebe74178a429f7b5c77639451 | /Assignment03_LewisEthan/src/sortCompare/MergeSort.java | 5aa7a50589cfb8231d5dd9ccdfc043d4d9d8407e | [] | no_license | elewis3927/Data-Structures- | 079c153fdf3307132176628028bb406b3dc4116a | 7f2478cb15b5d085599c43cd80c294ebbda5a2a4 | refs/heads/master | 2021-05-11T04:13:24.707463 | 2018-01-22T19:00:19 | 2018-01-22T19:00:19 | 117,935,962 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,173 | java | package sortCompare;
import java.util.ArrayList;
/**
* Implementation of the MergeSort algorithm
*
* @author dave
* @data 2/7/1009
*
* @param <E> type of data to be sorted
*/
public class MergeSort<E extends Comparable<E>> implements Sorter<E>{
/**
* Sort the ArrayList of data using MergeSort
*
* @param list data to be sorted
*/
public void sort(ArrayList<E> data){
sortHelper(data, 0, data.size());
}
/**
* MergeSort helper method. Sorts data >= start and < end
*
* @param list data to be sorted
* @param low start of the data to be sorted
* @param high end of the data to be sorted (exclusive)
*/
private void sortHelper(ArrayList<E> data, int low, int high){
if( high-low > 1 ){
int mid = low + (high-low)/2;
sortHelper(data, low, mid);
sortHelper(data, mid, high);
merge(data, low, mid, high);
}
}
/**
* Merge data >= low and < high into sorted data. Data >= low and < mid are in sorted order.
* Data >= mid and < high are also in sorted order
*
* @param data the partially sorted data
* @param low bottom index of the data to be merged
* @param mid midpoint of the data to be merged
* @param high end of the data to be merged (exclusive)
*/
public void merge(ArrayList<E> data, int low, int mid, int high){
ArrayList<E> temp = new ArrayList<E>(high-low);
int lowIndex = low;
int midIndex = mid;
while( lowIndex < mid &&
midIndex < high ){
if( data.get(lowIndex).compareTo(data.get(midIndex)) < 1 ){
temp.add(data.get(lowIndex));
lowIndex++;
}else{
temp.add(data.get(midIndex));
midIndex++;
}
}
// copy over the remaining data on the low to mid side if there
// is some remaining.
while( lowIndex < mid ){
temp.add(data.get(lowIndex));
lowIndex++;
}
// copy over the remaining data on the mid to high side if there
// is some remaining. Only one of these two while loops should
// actually execute
while( midIndex < high ){
temp.add(data.get(midIndex));
midIndex++;
}
// copy the data back from temp to list
for( int i = 0; i < temp.size(); i++ ){
data.set(i+low, temp.get(i));
}
}
}
| [
"noreply@github.com"
] | noreply@github.com |
d8d73d19af5fb72ac865396b4ec51677b1a467b4 | 3ce9d687492683cb57b76c51d44c737d142a3842 | /sd/src/main/java/ro/utcn/sd/SdApplication.java | 88468a4209f8d687b9bc201ee84b26bbb621216a | [] | no_license | teodora99/android-fundamentals | e49ad004a36611154024844eab71c7f4da231523 | 41fa9bada9f4e3561f1b0de6782d8c57943e1ee0 | refs/heads/master | 2022-11-17T06:26:57.614337 | 2020-07-07T15:26:48 | 2020-07-07T15:26:48 | 257,644,404 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 514 | java | package ro.utcn.sd;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import ro.utcn.sd.entity.Internship;
import ro.utcn.sd.service.InternshipService;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
@SpringBootApplication
public class SdApplication {
public static void main(String[] args) {
SpringApplication.run(SdApplication.class, args);
}
}
| [
"vezan.teodora@gmail.com"
] | vezan.teodora@gmail.com |
c17656c1de8a6555ddaf4c5540e5f8b05444b99a | f016f825ffdc653cd623216a2456209d3924fed9 | /src/Chapter6/SUVTire.java | bfad40caaf2f0a1de05c32a21537c7ecb5ce40c7 | [
"Apache-2.0"
] | permissive | ldk123456/Android_DP | d7c9c8ce93b71dea7159a0dd4eec0f5a135e4c4b | 9a46a7aca73edddc64a46a59bab5cde0a27d3f87 | refs/heads/master | 2020-04-07T01:31:18.304963 | 2019-08-21T14:49:22 | 2019-08-21T14:49:22 | 157,943,777 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 150 | java | package Chapter6;
public class SUVTire implements ITire {
@Override
public void tire() {
System.out.println("越野轮胎");
}
}
| [
"1786079189@qq.com"
] | 1786079189@qq.com |
9f03c984f69fe633798c70241e2882135a57c13f | 854b0ca647934bc6ecd7be562dcdcf7781b55b41 | /Research/src/ru/ifmo/ctd/ngp/theory/moearl/SingleState.java | f1c6b3fd07bc27baf511c421fa21d8313d431555 | [] | no_license | iruuunechka/ngp-extras | 7b7c8056804d3a6d6404b08b12aa71baaae870d3 | 01d44aa4877da2e88173cb2c30d514478041c71d | refs/heads/master | 2020-04-13T06:52:13.767188 | 2018-12-25T01:09:52 | 2018-12-25T01:09:52 | 163,033,113 | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 260 | java | package ru.ifmo.ctd.ngp.theory.moearl;
import java.util.List;
/**
* @author Irene Petrova
*/
public class SingleState implements State {
@Override
public int getCurrentState(List<Individual> population, int targetIndex) {
return 1;
}
}
| [
"iruuunechka@gmail.com"
] | iruuunechka@gmail.com |
1cec37d20b039c000afca412614931c7b80f0cad | fec4c1754adce762b5c4b1cba85ad057e0e4744a | /jf-base/src/main/java/com/jf/dao/MchtBrandOtherPicChgExtMapper.java | 46a9be4f91237f8c5b4bc258bfe9b69a0930bd2e | [] | no_license | sengeiou/workspace_xg | 140b923bd301ff72ca4ae41bc83820123b2a822e | 540a44d550bb33da9980d491d5c3fd0a26e3107d | refs/heads/master | 2022-11-30T05:28:35.447286 | 2020-08-19T02:30:25 | 2020-08-19T02:30:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 1,201 | java | package com.jf.dao;
import com.jf.entity.MchtBrandOtherPicChgExt;
import com.jf.entity.MchtBrandOtherPicChgExtExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface MchtBrandOtherPicChgExtMapper {
// -----------------------------------------------------------------------------------------------------------------
// 基本方法
// -----------------------------------------------------------------------------------------------------------------
MchtBrandOtherPicChgExt findById(int id);
MchtBrandOtherPicChgExt find(MchtBrandOtherPicChgExtExample example);
List<MchtBrandOtherPicChgExt> list(MchtBrandOtherPicChgExtExample example);
List<Integer> listId(MchtBrandOtherPicChgExtExample example);
int count(MchtBrandOtherPicChgExtExample example);
long sum(@Param("field") String field, @Param("example") MchtBrandOtherPicChgExtExample example);
int max(@Param("field") String field, @Param("example") MchtBrandOtherPicChgExtExample example);
int min(@Param("field") String field, @Param("example") MchtBrandOtherPicChgExtExample example);
}
| [
"397716215@qq.com"
] | 397716215@qq.com |
58a15412f0ed27716a241fea79a55a23d7f99832 | a3b6afdef09dc1002f842b8a5f576249b75c910e | /jboss/hornetq/failover-testing-framework/common/src/main/java/io/novaordis/playground/wildfly/hornetq/ftf/common/MessageInfo.java | a37db5f86bd310c2c3a075030b8e372f001132f4 | [
"Apache-2.0"
] | permissive | tedwon/playground | aabe206596dbec38112da58f749a4a55af594613 | 043732b5e1d3ad576142b3351b55ae7f62d7c3a1 | refs/heads/master | 2022-12-23T03:48:49.249427 | 2017-03-01T21:55:38 | 2017-03-01T21:55:38 | 84,821,109 | 0 | 0 | Apache-2.0 | 2022-12-14T20:31:41 | 2017-03-13T11:55:34 | Java | UTF-8 | Java | false | false | 2,769 | java | /*
* Copyright (c) 2016 Nova Ordis LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.novaordis.playground.wildfly.hornetq.ftf.common;
import javax.jms.Message;
/**
* @author Ovidiu Feodorov <ovidiu@novaordis.com>
* @since 5/16/16
*/
public class MessageInfo {
// Constants -------------------------------------------------------------------------------------------------------
public static final MessageInfo NO_MORE_MESSAGES = new MessageInfo();
// Static ----------------------------------------------------------------------------------------------------------
// Attributes ------------------------------------------------------------------------------------------------------
private String messageId;
private Exception exception;
// Constructors ----------------------------------------------------------------------------------------------------
public MessageInfo() {
}
public MessageInfo(Message message) {
init(message);
}
public MessageInfo(Exception exception) {
init(exception);
}
// Public ----------------------------------------------------------------------------------------------------------
/**
* Initializes the MessageInfo instance with message data.
*/
public void init(Message m) {
try {
this.messageId = m.getJMSMessageID();
}
catch(Exception e) {
exception = e;
}
}
/**
* Initializes the MessageInfo instance with exception data
*/
public void init(Exception e) {
this.exception = e;
}
public String getMessageId() {
return messageId;
}
public Exception getException() {
return exception;
}
// Package protected -----------------------------------------------------------------------------------------------
// Protected -------------------------------------------------------------------------------------------------------
// Private ---------------------------------------------------------------------------------------------------------
// Inner classes ---------------------------------------------------------------------------------------------------
}
| [
"ovidiu@novaordis.com"
] | ovidiu@novaordis.com |
c5bc74c54826d479d44b03c4e16a4cda2713e0ae | 0dca47633c5306844e5bfa08be9cde6afc7e7679 | /LogoProgressExample/gen/logo/progress/example/R.java | 6b77a7bc8343268506d53f66878d54918357ed7d | [] | no_license | BadnerEyal/LogoProgressExample | 593273204eb48f9daa8f9b6dad1da950c732b38f | 6c3f941541da7ed06d256a8981c79eebdc210ddc | refs/heads/master | 2021-01-10T22:14:00.311175 | 2014-05-04T16:28:51 | 2014-05-04T16:28:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Java | false | false | 2,380 | java | /* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package logo.progress.example;
public final class R {
public static final class attr {
}
public static final class drawable {
public static final int ic_launcher=0x7f020000;
public static final int logo=0x7f020001;
}
public static final class id {
public static final int btn_search=0x7f070004;
public static final int listView=0x7f070005;
public static final int logoImageView=0x7f070000;
public static final int mainLinearLayout=0x7f070002;
public static final int menu_settings=0x7f070006;
public static final int progressBar=0x7f070001;
public static final int search_text=0x7f070003;
}
public static final class layout {
public static final int activity_main=0x7f030000;
}
public static final class menu {
public static final int activity_main=0x7f060000;
}
public static final class string {
public static final int app_name=0x7f040000;
public static final int hello_world=0x7f040001;
public static final int menu_settings=0x7f040002;
}
public static final class style {
/**
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
Base application theme for API 11+. This theme completely replaces
AppBaseTheme from res/values/styles.xml on API 11+ devices.
API 11 theme customizations can go here.
Base application theme for API 14+. This theme completely replaces
AppBaseTheme from BOTH res/values/styles.xml and
res/values-v11/styles.xml on API 14+ devices.
API 14 theme customizations can go here.
*/
public static final int AppBaseTheme=0x7f050000;
/** Application theme.
All customizations that are NOT specific to a particular API-level can go here.
*/
public static final int AppTheme=0x7f050001;
}
}
| [
"eyalbadner1@gmail.com"
] | eyalbadner1@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.